@argonprotocol/mainchain 1.0.12 → 1.0.13
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/README.md +18 -15
- package/lib/cjs/WageProtector.d.ts +1 -1
- package/lib/cjs/WageProtector.js +3 -2
- package/lib/cjs/WageProtector.js.map +1 -1
- package/lib/cjs/__test__/WageProtector.test.js +2 -2
- package/lib/cjs/__test__/WageProtector.test.js.map +1 -1
- package/lib/cjs/examples/decodePkcs.js +3 -3
- package/lib/cjs/examples/decodePkcs.js.map +1 -1
- package/lib/cjs/examples/findSs58Formats.js +6 -1
- package/lib/cjs/examples/findSs58Formats.js.map +1 -1
- package/lib/cjs/index.d.ts +9 -9
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/interfaces/augment-api-consts.d.ts +0 -6
- package/lib/cjs/interfaces/augment-api-errors.d.ts +8 -0
- package/lib/cjs/interfaces/augment-api-events.d.ts +678 -149
- package/lib/cjs/interfaces/augment-api-query.d.ts +334 -129
- package/lib/cjs/interfaces/augment-api-rpc.d.ts +1 -1
- package/lib/cjs/interfaces/augment-api-tx.d.ts +362 -96
- package/lib/cjs/interfaces/lookup.d.ts +63 -54
- package/lib/cjs/interfaces/lookup.js +653 -411
- package/lib/cjs/interfaces/lookup.js.map +1 -1
- package/lib/cjs/interfaces/types-lookup.d.ts +87 -61
- package/lib/esm/WageProtector.d.ts +1 -1
- package/lib/esm/WageProtector.js +3 -2
- package/lib/esm/WageProtector.js.map +1 -1
- package/lib/esm/__test__/WageProtector.test.js +3 -3
- package/lib/esm/__test__/WageProtector.test.js.map +1 -1
- package/lib/esm/examples/decodePkcs.js +8 -8
- package/lib/esm/examples/decodePkcs.js.map +1 -1
- package/lib/esm/examples/findSs58Formats.js +6 -1
- package/lib/esm/examples/findSs58Formats.js.map +1 -1
- package/lib/esm/index.d.ts +9 -9
- package/lib/esm/index.js +7 -7
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/interfaces/augment-api-consts.d.ts +0 -6
- package/lib/esm/interfaces/augment-api-errors.d.ts +8 -0
- package/lib/esm/interfaces/augment-api-events.d.ts +678 -149
- package/lib/esm/interfaces/augment-api-query.d.ts +334 -129
- package/lib/esm/interfaces/augment-api-rpc.d.ts +1 -1
- package/lib/esm/interfaces/augment-api-tx.d.ts +362 -96
- package/lib/esm/interfaces/lookup.d.ts +63 -54
- package/lib/esm/interfaces/lookup.js +653 -411
- package/lib/esm/interfaces/lookup.js.map +1 -1
- package/lib/esm/interfaces/types-lookup.d.ts +87 -61
- package/lib/tsconfig-cjs.tsbuildinfo +1 -1
- package/lib/tsconfig-types.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/WageProtector.d.ts +1 -1
- package/lib/types/index.d.ts +9 -9
- package/lib/types/interfaces/augment-api-consts.d.ts +0 -6
- package/lib/types/interfaces/augment-api-errors.d.ts +8 -0
- package/lib/types/interfaces/augment-api-events.d.ts +678 -149
- package/lib/types/interfaces/augment-api-query.d.ts +334 -129
- package/lib/types/interfaces/augment-api-rpc.d.ts +1 -1
- package/lib/types/interfaces/augment-api-tx.d.ts +362 -96
- package/lib/types/interfaces/lookup.d.ts +63 -54
- package/lib/types/interfaces/types-lookup.d.ts +87 -61
- package/package.json +1 -1
package/lib/esm/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { KeyringPair, KeyringPair$Json } from
|
|
1
|
+
import './interfaces/augment-api.js';
|
|
2
|
+
import './interfaces/augment-types.js';
|
|
3
|
+
import './interfaces/types-lookup.js';
|
|
4
|
+
import { KeyringPair, KeyringPair$Json } from '@polkadot/keyring/types';
|
|
5
5
|
import { ApiPromise, Keyring } from '@polkadot/api';
|
|
6
6
|
import { decodeAddress, mnemonicGenerate } from '@polkadot/util-crypto';
|
|
7
|
-
import { EventRecord } from
|
|
7
|
+
import { EventRecord } from '@polkadot/types/interfaces/system';
|
|
8
8
|
import { InterfaceTypes } from '@polkadot/types/types/registry';
|
|
9
|
-
import { KeypairType } from
|
|
10
|
-
export { WageProtector } from
|
|
11
|
-
export { Keyring, KeyringPair, KeyringPair$Json, KeypairType, mnemonicGenerate, decodeAddress };
|
|
12
|
-
export * from
|
|
9
|
+
import { KeypairType } from '@polkadot/util-crypto/types';
|
|
10
|
+
export { WageProtector } from './WageProtector';
|
|
11
|
+
export { Keyring, KeyringPair, KeyringPair$Json, KeypairType, mnemonicGenerate, decodeAddress, };
|
|
12
|
+
export * from '@polkadot/types';
|
|
13
13
|
export * from '@polkadot/types/lookup';
|
|
14
14
|
export { InterfaceTypes as interfaces };
|
|
15
15
|
export type ArgonClient = ApiPromise;
|
package/lib/esm/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import './interfaces/augment-api.js';
|
|
2
|
+
import './interfaces/augment-types.js';
|
|
3
|
+
import './interfaces/types-lookup.js';
|
|
4
4
|
import { ApiPromise, Keyring, WsProvider } from '@polkadot/api';
|
|
5
|
-
import { cryptoWaitReady, decodeAddress, mnemonicGenerate } from '@polkadot/util-crypto';
|
|
6
|
-
export { WageProtector } from
|
|
7
|
-
export { Keyring, mnemonicGenerate, decodeAddress };
|
|
8
|
-
export * from
|
|
5
|
+
import { cryptoWaitReady, decodeAddress, mnemonicGenerate, } from '@polkadot/util-crypto';
|
|
6
|
+
export { WageProtector } from './WageProtector';
|
|
7
|
+
export { Keyring, mnemonicGenerate, decodeAddress, };
|
|
8
|
+
export * from '@polkadot/types';
|
|
9
9
|
export * from '@polkadot/types/lookup';
|
|
10
10
|
/**
|
|
11
11
|
* Wait for the crypto library to be ready (requires wasm, which needs async loading in commonjs)
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAA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AAM,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC1D,kCAAkC;gBAClC,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC;gBACnC,IAAI,SAAS,GAAG,aAAa,CAAC,QAAQ,EAAE,CAAC;gBAEzC,IAAI,aAAa,CAAC,QAAQ,EAAE,CAAC;oBAC3B,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;oBACtE,SAAS,GAAG,GAAG,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;gBACnD,CAAC;gBAED,MAAM,CACJ,IAAI,KAAK,CACP,GAAG,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,MAAM,wBAAwB,SAAS,EAAE,CACpE,CACF,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -424,12 +424,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
424
424
|
* The number of ticks that a funding change will be delayed before it takes effect
|
|
425
425
|
**/
|
|
426
426
|
miningArgonIncreaseTickDelay: u64 & AugmentedConst<ApiType>;
|
|
427
|
-
/**
|
|
428
|
-
* The number of ticks that a change in terms will take before applying. Terms only apply
|
|
429
|
-
* on a slot changeover, so this setting is the minimum blocks that must pass, in
|
|
430
|
-
* addition to the time to the next slot after that
|
|
431
|
-
**/
|
|
432
|
-
minTermsModificationTickDelay: u64 & AugmentedConst<ApiType>;
|
|
433
427
|
/**
|
|
434
428
|
* Argon blocks per day
|
|
435
429
|
**/
|
|
@@ -816,6 +816,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
816
816
|
* The proposed transaction would take the account below the minimum (existential) balance
|
|
817
817
|
**/
|
|
818
818
|
AccountBelowMinimumBalance: AugmentedError<ApiType>;
|
|
819
|
+
/**
|
|
820
|
+
* Too many base fee maturations were inserted per tick
|
|
821
|
+
**/
|
|
822
|
+
BaseFeeOverflow: AugmentedError<ApiType>;
|
|
819
823
|
/**
|
|
820
824
|
* Bitcoin conversion to compressed pubkey failed
|
|
821
825
|
**/
|
|
@@ -897,6 +901,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
897
901
|
UnsafeXpubkey: AugmentedError<ApiType>;
|
|
898
902
|
VaultClosed: AugmentedError<ApiType>;
|
|
899
903
|
VaultNotFound: AugmentedError<ApiType>;
|
|
904
|
+
/**
|
|
905
|
+
* The vault is not yet active
|
|
906
|
+
**/
|
|
907
|
+
VaultNotYetActive: AugmentedError<ApiType>;
|
|
900
908
|
/**
|
|
901
909
|
* This reduction in obligation funds offered goes below the amount that is already
|
|
902
910
|
* committed to
|