Compare commits

..

No commits in common. "develop" and "master" have entirely different histories.

6 changed files with 1132 additions and 1481 deletions

View File

@ -39,17 +39,17 @@
"postinstall": "ngcc"
},
"dependencies": {
"@angular/animations": "~13.3.9",
"@angular/cdk": "~13.3.7",
"@angular/common": "~13.3.9",
"@angular/compiler": "~13.3.9",
"@angular/core": "~13.3.9",
"@angular/animations": "~13.2.6",
"@angular/cdk": "~13.2.6",
"@angular/common": "~13.2.6",
"@angular/compiler": "~13.2.6",
"@angular/core": "~13.2.6",
"@angular/flex-layout": "^13.0.0-beta.38",
"@angular/forms": "~13.3.9",
"@angular/material": "^13.3.7",
"@angular/platform-browser": "~13.3.9",
"@angular/platform-browser-dynamic": "~13.3.9",
"@angular/router": "~13.3.9",
"@angular/forms": "~13.2.6",
"@angular/material": "^13.2.6",
"@angular/platform-browser": "~13.2.6",
"@angular/platform-browser-dynamic": "~13.2.6",
"@angular/router": "~13.2.6",
"bootstrap": "^5.1.3",
"ipfs-css": "^1.3.0",
"rxjs": "~7.5.5",
@ -57,15 +57,15 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.3.6",
"@angular-eslint/builder": "13.2.1",
"@angular-eslint/eslint-plugin": "13.2.1",
"@angular-eslint/eslint-plugin-template": "13.2.1",
"@angular-eslint/schematics": "13.2.1",
"@angular-eslint/template-parser": "13.2.1",
"@angular/cli": "~13.3.6",
"@angular/compiler-cli": "~13.3.9",
"@angular/language-service": "~13.3.9",
"@angular-devkit/build-angular": "~13.2.6",
"@angular-eslint/builder": "13.1.0",
"@angular-eslint/eslint-plugin": "13.1.0",
"@angular-eslint/eslint-plugin-template": "13.1.0",
"@angular-eslint/schematics": "13.1.0",
"@angular-eslint/template-parser": "13.1.0",
"@angular/cli": "~13.2.6",
"@angular/compiler-cli": "~13.2.6",
"@angular/language-service": "~13.2.6",
"@types/jasmine": "~3.10.3",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^17.0.21",

File diff suppressed because it is too large Load Diff

View File

@ -3,12 +3,14 @@ import { RouterTestingModule } from "@angular/router/testing"
import { AppComponent } from "./app.component"
describe("AppComponent", (): void => {
beforeEach(waitForAsync((): void => {
void TestBed.configureTestingModule({
imports: [RouterTestingModule],
declarations: [AppComponent],
}).compileComponents()
}))
beforeEach(
waitForAsync((): void => {
void TestBed.configureTestingModule({
imports: [RouterTestingModule],
declarations: [AppComponent],
}).compileComponents()
})
)
it("should create the app", (): void => {
const fixture = TestBed.createComponent(AppComponent)

View File

@ -7,12 +7,14 @@ describe("PagesComponent", (): void => {
let component: PagesComponent
let fixture: ComponentFixture<PagesComponent>
beforeEach(waitForAsync((): void => {
void TestBed.configureTestingModule({
imports: [HttpClientTestingModule],
declarations: [PagesComponent],
}).compileComponents()
}))
beforeEach(
waitForAsync((): void => {
void TestBed.configureTestingModule({
imports: [HttpClientTestingModule],
declarations: [PagesComponent],
}).compileComponents()
})
)
beforeEach((): void => {
fixture = TestBed.createComponent(PagesComponent)

View File

@ -28,7 +28,7 @@ export class GatewayService {
url(gateway: string, protocol: Protocol, hashpath: string): string {
const splits: string[] = hashpath.split("/")
const url: string = gateway.replaceAll(":type", protocol).replaceAll(":hash", splits.shift() ?? "")
const url: string = gateway.replace(":type", protocol).replace(":hash", splits.shift() ?? "")
return splits.length ? [url, splits.join("/")].join("/") : url
}
}

View File

@ -28,6 +28,8 @@
"https://ipfs-cdn.aragon.ventures/:type/:hash",
"https://permaweb.io/:type/:hash",
"https://ipfs.best-practice.se/:type/:hash",
"https://2read.net/:type/:hash",
"https://ipfs.2read.net/:type/:hash",
"https://storjipfs-gateway.com/:type/:hash",
"https://ipfs.runfission.com/:type/:hash",
"https://ipfs.trusti.id/:type/:hash",
@ -87,10 +89,5 @@
"https://ipfs.tribecap.co/:type/:hash",
"https://ipfs.kinematiks.com/:type/:hash",
"https://c4rex.co/:type/:hash",
"https://ipfs.zod.tv/:type/:hash",
"https://nftstorage.link/:type/:hash",
"https://gravity.jup.io/:type/:hash",
"http://fzdqwfb5ml56oadins5jpuhe6ki6bk33umri35p5kt2tue4fpws5efid.onion/:type/:hash",
"https://tth-ipfs.com/:type/:hash",
"https://:type.natoboram.com/:type/:hash"
"https://ipfs.zod.tv/:type/:hash"
]