diff --git a/lerna.json b/lerna.json index 4b8f868d..0ad5379b 100644 --- a/lerna.json +++ b/lerna.json @@ -6,5 +6,5 @@ "publishConfig": { "directory": "build" }, - "version": "0.13.1" + "version": "0.14.0-alpha.0" } diff --git a/packages/node-api/package.json b/packages/node-api/package.json index 1a2dadf7..9c808c11 100644 --- a/packages/node-api/package.json +++ b/packages/node-api/package.json @@ -18,10 +18,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.13.1", + "version": "0.14.0-alpha.0", "main": "index.js", "dependencies": { - "@encointer/types": "^0.13.1", + "@encointer/types": "^0.14.0-alpha.0", "@polkadot/api": "^11.0.2", "tslib": "^2.6.2" }, diff --git a/packages/types/package.json b/packages/types/package.json index f63fe5b7..83e26d5e 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -18,7 +18,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.13.1", + "version": "0.14.0-alpha.0", "main": "index.js", "scripts": { "generate:defs": "node --experimental-specifier-resolution=node --loader ts-node/esm ../../node_modules/.bin/polkadot-types-from-defs --package @encointer/types/interfaces --input ./src/interfaces", diff --git a/packages/types/src/interfaces/ceremony/definitions.ts b/packages/types/src/interfaces/ceremony/definitions.ts index 94d986fa..ec697c58 100644 --- a/packages/types/src/interfaces/ceremony/definitions.ts +++ b/packages/types/src/interfaces/ceremony/definitions.ts @@ -22,7 +22,12 @@ export default { ] }, Reputation: { - _enum: ['Unverified', 'UnverifiedReputable', 'VerifiedUnlinked', 'VerifiedLinked'] + _enum: { + unverified: null, + unverifiedReputable: null, + verifiedUnlinked: null, + verifiedLinked: 'CeremonyIndexType', + } }, CommunityReputation: { communityIdentifier: 'CommunityIdentifier', diff --git a/packages/types/src/interfaces/ceremony/types.ts b/packages/types/src/interfaces/ceremony/types.ts index 44b96184..659b1537 100644 --- a/packages/types/src/interfaces/ceremony/types.ts +++ b/packages/types/src/interfaces/ceremony/types.ts @@ -147,6 +147,7 @@ export interface Reputation extends Enum { readonly isUnverifiedReputable: boolean; readonly isVerifiedUnlinked: boolean; readonly isVerifiedLinked: boolean; + readonly asVerifiedLinked: CeremonyIndexType; readonly type: 'Unverified' | 'UnverifiedReputable' | 'VerifiedUnlinked' | 'VerifiedLinked'; } diff --git a/packages/util/package.json b/packages/util/package.json index bb16fd26..0ed8c551 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -20,7 +20,7 @@ "sideEffects": false, "type": "module", "types": "./index.d.ts", - "version": "0.13.1", + "version": "0.14.0-alpha.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.9", diff --git a/packages/worker-api/package.json b/packages/worker-api/package.json index 6946ef7a..1de38c9c 100644 --- a/packages/worker-api/package.json +++ b/packages/worker-api/package.json @@ -19,12 +19,12 @@ "sideEffects": false, "type": "module", "types": "./index.d.ts", - "version": "0.13.1", + "version": "0.14.0-alpha.0", "main": "index.js", "dependencies": { - "@encointer/node-api": "^0.13.1", - "@encointer/types": "^0.13.1", - "@encointer/util": "^0.13.1", + "@encointer/node-api": "^0.14.0-alpha.0", + "@encointer/types": "^0.14.0-alpha.0", + "@encointer/util": "^0.14.0-alpha.0", "@peculiar/webcrypto": "^1.4.6", "@polkadot/api": "^11.0.2", "@polkadot/keyring": "^12.6.2", diff --git a/yarn.lock b/yarn.lock index 590007ed..67f05bb7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -755,18 +755,18 @@ __metadata: languageName: node linkType: hard -"@encointer/node-api@npm:^0.13.1, @encointer/node-api@workspace:packages/node-api": +"@encointer/node-api@npm:^0.14.0-alpha.0, @encointer/node-api@workspace:packages/node-api": version: 0.0.0-use.local resolution: "@encointer/node-api@workspace:packages/node-api" dependencies: - "@encointer/types": "npm:^0.13.1" + "@encointer/types": "npm:^0.14.0-alpha.0" "@polkadot/api": "npm:^11.0.2" "@polkadot/util-crypto": "npm:^12.6.2" tslib: "npm:^2.6.2" languageName: unknown linkType: soft -"@encointer/types@npm:^0.13.1, @encointer/types@workspace:packages/types": +"@encointer/types@npm:^0.14.0-alpha.0, @encointer/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@encointer/types@workspace:packages/types" dependencies: @@ -781,7 +781,7 @@ __metadata: languageName: unknown linkType: soft -"@encointer/util@npm:^0.13.1, @encointer/util@workspace:packages/util": +"@encointer/util@npm:^0.14.0-alpha.0, @encointer/util@workspace:packages/util": version: 0.0.0-use.local resolution: "@encointer/util@workspace:packages/util" dependencies: @@ -798,9 +798,9 @@ __metadata: version: 0.0.0-use.local resolution: "@encointer/worker-api@workspace:packages/worker-api" dependencies: - "@encointer/node-api": "npm:^0.13.1" - "@encointer/types": "npm:^0.13.1" - "@encointer/util": "npm:^0.13.1" + "@encointer/node-api": "npm:^0.14.0-alpha.0" + "@encointer/types": "npm:^0.14.0-alpha.0" + "@encointer/util": "npm:^0.14.0-alpha.0" "@peculiar/webcrypto": "npm:^1.4.6" "@polkadot/api": "npm:^11.0.2" "@polkadot/keyring": "npm:^12.6.2"