Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"dependencies": {
"@akashnetwork/akash-api": "1.4.3",
"@akashnetwork/chain-sdk": "1.0.0-alpha.41",
"@akashnetwork/chain-sdk": "1.0.0-alpha.43",
"@akashnetwork/console-api-types": "*",
"@akashnetwork/database": "*",
"@akashnetwork/env-loader": "*",
Expand Down
2 changes: 1 addition & 1 deletion apps/deploy-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"type-check": "tsc"
},
"dependencies": {
"@akashnetwork/chain-sdk": "1.0.0-alpha.41",
"@akashnetwork/chain-sdk": "1.0.0-alpha.43",
"@akashnetwork/console-api-types": "*",
"@akashnetwork/env-loader": "*",
"@akashnetwork/http-sdk": "*",
Expand Down
2 changes: 1 addition & 1 deletion apps/indexer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@akashnetwork/akash-api": "1.4.3",
"@akashnetwork/chain-sdk": "1.0.0-alpha.41",
"@akashnetwork/chain-sdk": "1.0.0-alpha.43",
"@akashnetwork/database": "*",
"@akashnetwork/env-loader": "*",
"@akashnetwork/instrumentation": "*",
Expand Down
2 changes: 1 addition & 1 deletion apps/notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"test:watch": "vitest"
},
"dependencies": {
"@akashnetwork/chain-sdk": "1.0.0-alpha.41",
"@akashnetwork/chain-sdk": "1.0.0-alpha.43",
"@akashnetwork/env-loader": "*",
"@akashnetwork/http-sdk": "*",
"@akashnetwork/instrumentation": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,16 @@ import type { Provider } from "@nestjs/common";
export const RegistryProvider: Provider<Registry> = {
provide: Registry,
useFactory: () => {
const akashTypes: ReadonlyArray<[string, GeneratedType]> = [
...Object.values(v1),
...Object.values(v1beta4),
...Object.values(v1beta5),
...Object.values(cosmosv1),
...Object.values(cosmosv1beta1),
...Object.values(cosmosv1alpha1),
...Object.values(cosmosv2alpha1)
]
.filter(x => "$type" in x)
.map(x => ["/" + x.$type, x as unknown as GeneratedType]);
const modules: ReadonlyArray<Record<string, unknown>> = [v1, v1beta4, v1beta5, cosmosv1, cosmosv1beta1, cosmosv1alpha1, cosmosv2alpha1];
const akashTypes: ReadonlyArray<[string, GeneratedType]> = modules
.flatMap(module => Object.values(module))
.filter(hasType)
.map(type => ["/" + type.$type, type as unknown as GeneratedType]);

return new Registry(akashTypes);
}
};

function hasType(value: unknown): value is { $type: string } {
return typeof value === "object" && value !== null && "$type" in value && typeof value.$type === "string";
}
2 changes: 1 addition & 1 deletion apps/provider-inventory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test:unit": "vitest run --project unit"
},
"dependencies": {
"@akashnetwork/chain-sdk": "1.0.0-alpha.41",
"@akashnetwork/chain-sdk": "1.0.0-alpha.43",
"@akashnetwork/env-loader": "*",
"@akashnetwork/instrumentation": "*",
"@akashnetwork/logging": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,10 @@ export function getAttributeFingerprint(attributes: ResourceAttribute[] | undefi
.join(",");
}

export type GroupSpecJSON = ToJSON<GroupSpec>;
type GroupSpecRequirementsJSON = ToJSON<NonNullable<GroupSpec["requirements"]>>;

export type GroupSpecJSON = Omit<ToJSON<GroupSpec>, "requirements"> & {
requirements: Omit<GroupSpecRequirementsJSON, "verification"> & {
verification?: GroupSpecRequirementsJSON["verification"];
};
};
2 changes: 1 addition & 1 deletion apps/provider-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test:unit": "vitest run --project unit"
},
"dependencies": {
"@akashnetwork/chain-sdk": "1.0.0-alpha.41",
"@akashnetwork/chain-sdk": "1.0.0-alpha.43",
"@akashnetwork/env-loader": "*",
"@akashnetwork/instrumentation": "*",
"@akashnetwork/logging": "*",
Expand Down
2 changes: 1 addition & 1 deletion apps/stats-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test:unit": "NODE_ENV=test vitest run"
},
"dependencies": {
"@akashnetwork/chain-sdk": "1.0.0-alpha.41",
"@akashnetwork/chain-sdk": "1.0.0-alpha.43",
"@akashnetwork/env-loader": "*",
"@akashnetwork/logging": "*",
"@akashnetwork/network-store": "*",
Expand Down
2 changes: 1 addition & 1 deletion apps/tx-signer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test:unit": "vitest run --project unit"
},
"dependencies": {
"@akashnetwork/chain-sdk": "1.0.0-alpha.41",
"@akashnetwork/chain-sdk": "1.0.0-alpha.43",
"@akashnetwork/env-loader": "*",
"@akashnetwork/http-sdk": "*",
"@akashnetwork/instrumentation": "*",
Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/network-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"validate:types": "tsc --noEmit && echo"
},
"dependencies": {
"@akashnetwork/chain-sdk": "1.0.0-alpha.41",
"@akashnetwork/chain-sdk": "1.0.0-alpha.43",
"@akashnetwork/net": "*",
"jotai": "^2.9.2"
},
Expand Down
Loading