mainnet-js 1.1.8 → 1.1.9
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/index.html +1 -1
- package/dist/{mainnet-1.1.8.js → mainnet-1.1.9.js} +4 -4
- package/dist/module/util/deriveCashaddr.d.ts.map +1 -1
- package/dist/module/util/deriveCashaddr.js +10 -7
- package/dist/module/util/deriveCashaddr.js.map +1 -1
- package/dist/module/wallet/Bcmr.d.ts.map +1 -1
- package/dist/module/wallet/Bcmr.js +1 -1
- package/dist/module/wallet/Bcmr.js.map +1 -1
- package/dist/module/wallet/Wif.d.ts.map +1 -1
- package/dist/module/wallet/Wif.js +2 -2
- package/dist/module/wallet/Wif.js.map +1 -1
- package/dist/module/wallet/bcmr-v2.schema.d.ts +6 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/util/deriveCashaddr.ts +18 -8
- package/src/wallet/Bcmr.test.headless.js +9 -9
- package/src/wallet/Bcmr.test.ts +8 -8
- package/src/wallet/Bcmr.ts +4 -2
- package/src/wallet/Cashtokens.test.ts +59 -6
- package/src/wallet/Wif.ts +6 -2
- package/src/wallet/bcmr-v2.schema.ts +12 -12
|
@@ -258,16 +258,16 @@ export type NftCategoryField = {
|
|
|
258
258
|
encoding:
|
|
259
259
|
| {
|
|
260
260
|
type:
|
|
261
|
-
|
|
|
262
|
-
|
|
|
263
|
-
|
|
|
264
|
-
|
|
|
265
|
-
|
|
|
266
|
-
|
|
|
261
|
+
| "binary"
|
|
262
|
+
| "boolean"
|
|
263
|
+
| "hex"
|
|
264
|
+
| "https-url"
|
|
265
|
+
| "ipfs-cid"
|
|
266
|
+
| "utf8"
|
|
267
267
|
| `locktime`;
|
|
268
268
|
}
|
|
269
269
|
| {
|
|
270
|
-
type:
|
|
270
|
+
type: "number";
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
273
|
* The `aggregate` property indicates that aggregating this
|
|
@@ -284,7 +284,7 @@ export type NftCategoryField = {
|
|
|
284
284
|
* bitwise AND, bitwise OR, and bitwise XOR, etc. – only `add`
|
|
285
285
|
* is currently supported.
|
|
286
286
|
*/
|
|
287
|
-
aggregate?:
|
|
287
|
+
aggregate?: "add";
|
|
288
288
|
|
|
289
289
|
/**
|
|
290
290
|
* An integer between `0` and `18` (inclusive) indicating the
|
|
@@ -533,7 +533,7 @@ export type IdentitySnapshot = {
|
|
|
533
533
|
* if the burned identity represented a token type – consider burning any
|
|
534
534
|
* remaining tokens of that category to reclaim funds from those outputs.
|
|
535
535
|
*/
|
|
536
|
-
status?:
|
|
536
|
+
status?: "active" | "burned" | "inactive";
|
|
537
537
|
|
|
538
538
|
/**
|
|
539
539
|
* The split ID of this identity's chain of record.
|
|
@@ -594,7 +594,7 @@ export type IdentitySnapshot = {
|
|
|
594
594
|
* native currency unit (name, description, symbol, icon, etc.) as can be
|
|
595
595
|
* provided for other registered tokens.
|
|
596
596
|
*/
|
|
597
|
-
export type ChainSnapshot = Omit<IdentitySnapshot,
|
|
597
|
+
export type ChainSnapshot = Omit<IdentitySnapshot, "migrated" | "token"> & {
|
|
598
598
|
/**
|
|
599
599
|
* A data structure indicating how the chain's native currency units should be
|
|
600
600
|
* displayed in user interfaces.
|
|
@@ -694,7 +694,7 @@ export type IdentityHistory = RegistryTimestampKeyedValues<IdentitySnapshot>;
|
|
|
694
694
|
|
|
695
695
|
export type OffChainRegistryIdentity = Pick<
|
|
696
696
|
IdentitySnapshot,
|
|
697
|
-
|
|
697
|
+
"name" | "description" | "uris" | "tags" | "extensions"
|
|
698
698
|
>;
|
|
699
699
|
|
|
700
700
|
/**
|
|
@@ -890,4 +890,4 @@ export type Registry = {
|
|
|
890
890
|
* https://github.com/bitjson/chip-bcmr#locales-extension for details.
|
|
891
891
|
*/
|
|
892
892
|
extensions?: Extensions;
|
|
893
|
-
};
|
|
893
|
+
};
|