@akashnetwork/chain-sdk 1.0.0-alpha.44 → 1.0.0-alpha.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/sdl/manifest/generateManifest.cjs +19 -31
- package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/manifestUtils.cjs +46 -23
- package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
- package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +1402 -1369
- package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
- package/dist/esm/{chunk-6MIQPNOR.js → chunk-JN5DGAQY.js} +1465 -1424
- package/dist/esm/chunk-JN5DGAQY.js.map +7 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.web.js +1 -1
- package/dist/sdl-schema.yaml +15 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/sdl/manifest/manifestUtils.d.ts +12 -0
- package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +19 -1
- package/package.json +1 -1
- package/dist/esm/chunk-6MIQPNOR.js.map +0 -7
package/dist/esm/index.js
CHANGED
package/dist/esm/index.web.js
CHANGED
package/dist/sdl-schema.yaml
CHANGED
|
@@ -233,6 +233,21 @@ properties:
|
|
|
233
233
|
additionalProperties: false
|
|
234
234
|
properties:
|
|
235
235
|
attributes:
|
|
236
|
+
additionalProperties: false
|
|
237
|
+
description: |
|
|
238
|
+
CPU attributes. `arch` is the only recognised key, and it
|
|
239
|
+
is optional: omitting it leaves the group spec with zero
|
|
240
|
+
CPU attributes, which is what every pre-arch deployment
|
|
241
|
+
already has. There is deliberately no default — writing an
|
|
242
|
+
implicit `amd64` would change the group spec of every
|
|
243
|
+
existing deployment and break bid matching.
|
|
244
|
+
Mirrors `v2CPUAttributes.UnmarshalYAML` in go/sdl/cpu.go.
|
|
245
|
+
properties:
|
|
246
|
+
arch:
|
|
247
|
+
enum:
|
|
248
|
+
- amd64
|
|
249
|
+
- arm64
|
|
250
|
+
type: string
|
|
236
251
|
type: object
|
|
237
252
|
units:
|
|
238
253
|
oneOf:
|