@parity/product-sdk 0.0.0-dev.407.0 → 0.0.0-dev.407.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parity/product-sdk",
|
|
3
|
-
"version": "0.0.0-dev.407.
|
|
3
|
+
"version": "0.0.0-dev.407.1",
|
|
4
4
|
"description": "Unified SDK for building products in the Polkadot ecosystem - umbrella package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -75,21 +75,21 @@
|
|
|
75
75
|
],
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"polkadot-api": "^2.1.6",
|
|
78
|
-
"@parity/product-sdk-
|
|
79
|
-
"@parity/product-sdk-address": "0.2.0",
|
|
78
|
+
"@parity/product-sdk-chain-client": "0.0.0-dev.407.1",
|
|
80
79
|
"@parity/product-sdk-crypto": "0.1.1",
|
|
81
|
-
"@parity/product-sdk-
|
|
80
|
+
"@parity/product-sdk-cloud-storage": "0.0.0-dev.407.1",
|
|
82
81
|
"@parity/product-sdk-host": "0.23.0",
|
|
83
|
-
"@parity/product-sdk-
|
|
82
|
+
"@parity/product-sdk-address": "0.2.0",
|
|
83
|
+
"@parity/product-sdk-contracts": "0.10.11",
|
|
84
|
+
"@parity/product-sdk-individuality": "0.0.0-dev.407.1",
|
|
84
85
|
"@parity/product-sdk-keys": "0.4.1",
|
|
85
|
-
"@parity/product-sdk-logger": "0.1.1",
|
|
86
86
|
"@parity/result": "0.2.0",
|
|
87
|
-
"@parity/product-sdk-signer": "0.15.1",
|
|
88
87
|
"@parity/product-sdk-errors": "0.2.0",
|
|
89
|
-
"@parity/product-sdk-individuality": "0.0.0-dev.407.0",
|
|
90
88
|
"@parity/product-sdk-local-storage": "0.3.13",
|
|
91
89
|
"@parity/product-sdk-renderer": "0.3.0",
|
|
92
|
-
"@parity/product-sdk-tx": "0.4.11"
|
|
90
|
+
"@parity/product-sdk-tx": "0.4.11",
|
|
91
|
+
"@parity/product-sdk-logger": "0.1.1",
|
|
92
|
+
"@parity/product-sdk-signer": "0.15.1"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"react": "^18.0.0 || ^19.0.0"
|
|
@@ -44,7 +44,6 @@ import type {
|
|
|
44
44
|
CreditCandidatesChain,
|
|
45
45
|
CurrentGameWatchChain,
|
|
46
46
|
FeeEstimable,
|
|
47
|
-
CreditsChain,
|
|
48
47
|
GameChain,
|
|
49
48
|
GamePlayersChain,
|
|
50
49
|
IndividualityChain,
|
|
@@ -139,7 +138,6 @@ type FromPapiSatisfiesContracts = Assert<
|
|
|
139
138
|
ScoreContextChain &
|
|
140
139
|
SignUpChain &
|
|
141
140
|
LiteSignUpChain &
|
|
142
|
-
CreditsChain &
|
|
143
141
|
CreditCandidatesChain &
|
|
144
142
|
WatchChains
|
|
145
143
|
? true
|
|
@@ -359,8 +357,8 @@ type ReportVotesArePersonAndNotPerson = Assert<
|
|
|
359
357
|
: false
|
|
360
358
|
>;
|
|
361
359
|
|
|
362
|
-
// The roster reads, and the candidates read that adds `Game.Game` to them.
|
|
363
|
-
//
|
|
360
|
+
// The roster reads, and the candidates read that adds `Game.Game` to them.
|
|
361
|
+
// `IndexToPlayer.getValues` takes each `[round, index]` tuple as a single key.
|
|
364
362
|
type PaseoSatisfiesRosterContract = Assert<PaseoClient extends RosterChain ? true : false>;
|
|
365
363
|
type PreviewnetSatisfiesRosterContract = Assert<
|
|
366
364
|
PreviewnetClient extends RosterChain ? true : false
|
|
@@ -386,17 +384,6 @@ type RejectsBogusWatchClient = Assert<
|
|
|
386
384
|
ClientWithoutIndividuality extends CurrentGameWatchChain ? false : true
|
|
387
385
|
>;
|
|
388
386
|
|
|
389
|
-
// The credits read is the one contract typed over runtime APIs rather than storage,
|
|
390
|
-
// so a renamed claimant arm or a reshaped proof result fails here.
|
|
391
|
-
type PaseoSatisfiesCreditsContract = Assert<PaseoClient extends CreditsChain ? true : false>;
|
|
392
|
-
type PreviewnetSatisfiesCreditsContract = Assert<
|
|
393
|
-
PreviewnetClient extends CreditsChain ? true : false
|
|
394
|
-
>;
|
|
395
|
-
type DevnetPredatesTheCreditsContract = Assert<DevnetClient extends CreditsChain ? false : true>;
|
|
396
|
-
type RejectsBogusCreditsClient = Assert<
|
|
397
|
-
ClientWithoutIndividuality extends CreditsChain ? false : true
|
|
398
|
-
>;
|
|
399
|
-
|
|
400
387
|
// Game sign-up.
|
|
401
388
|
type PaseoSatisfiesSignUpContract = Assert<PaseoClient extends SignUpChain ? true : false>;
|
|
402
389
|
type RejectsBogusSignUpClient = Assert<
|