coreum-js 2.8.20 → 2.8.21

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.
Files changed (37) hide show
  1. package/dist/main/coreum/asset/nft/v1/query.d.ts +2 -2
  2. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +6 -6
  3. package/dist/main/coreum/nft/v1beta1/query.d.ts +8 -8
  4. package/dist/main/cosmos/authz/v1beta1/genesis.d.ts +2 -2
  5. package/dist/main/cosmos/authz/v1beta1/query.d.ts +6 -6
  6. package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +2 -2
  7. package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +6 -6
  8. package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +2 -2
  9. package/dist/main/cosmos/gov/v1beta1/query.d.ts +4 -4
  10. package/dist/main/cosmos/staking/v1beta1/genesis.d.ts +2 -2
  11. package/dist/main/cosmos/staking/v1beta1/query.d.ts +10 -10
  12. package/dist/main/cosmos/vesting/v1beta1/vesting.d.ts +10 -10
  13. package/dist/main/google/index.d.ts +1 -0
  14. package/dist/main/google/index.js +17 -0
  15. package/dist/main/google/protobuf/any.d.ts +2 -0
  16. package/dist/main/google/protobuf/any.js +6 -2
  17. package/dist/main/wasm/v1/genesis.d.ts +4 -4
  18. package/dist/main/wasm/v1/query.d.ts +2 -2
  19. package/dist/module/coreum/asset/nft/v1/query.d.ts +2 -2
  20. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +6 -6
  21. package/dist/module/coreum/nft/v1beta1/query.d.ts +8 -8
  22. package/dist/module/cosmos/authz/v1beta1/genesis.d.ts +2 -2
  23. package/dist/module/cosmos/authz/v1beta1/query.d.ts +6 -6
  24. package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +2 -2
  25. package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +6 -6
  26. package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +2 -2
  27. package/dist/module/cosmos/gov/v1beta1/query.d.ts +4 -4
  28. package/dist/module/cosmos/staking/v1beta1/genesis.d.ts +2 -2
  29. package/dist/module/cosmos/staking/v1beta1/query.d.ts +10 -10
  30. package/dist/module/cosmos/vesting/v1beta1/vesting.d.ts +10 -10
  31. package/dist/module/google/index.d.ts +1 -0
  32. package/dist/module/google/index.js +1 -0
  33. package/dist/module/google/protobuf/any.d.ts +2 -0
  34. package/dist/module/google/protobuf/any.js +5 -3
  35. package/dist/module/wasm/v1/genesis.d.ts +4 -4
  36. package/dist/module/wasm/v1/query.d.ts +2 -2
  37. package/package.json +1 -1
@@ -45,7 +45,9 @@ export const Any = {
45
45
  fromJSON(object) {
46
46
  return {
47
47
  typeUrl: isSet(object.typeUrl) ? String(object.typeUrl) : "",
48
- value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(),
48
+ value: isSet(object.value)
49
+ ? bytesFromBase64(object.value)
50
+ : new Uint8Array(),
49
51
  };
50
52
  },
51
53
  toJSON(message) {
@@ -80,7 +82,7 @@ var tsProtoGlobalThis = (() => {
80
82
  }
81
83
  throw "Unable to locate global object";
82
84
  })();
83
- function bytesFromBase64(b64) {
85
+ export function bytesFromBase64(b64) {
84
86
  if (tsProtoGlobalThis.Buffer) {
85
87
  return Uint8Array.from(tsProtoGlobalThis.Buffer.from(b64, "base64"));
86
88
  }
@@ -93,7 +95,7 @@ function bytesFromBase64(b64) {
93
95
  return arr;
94
96
  }
95
97
  }
96
- function base64FromBytes(arr) {
98
+ export function base64FromBytes(arr) {
97
99
  if (tsProtoGlobalThis.Buffer) {
98
100
  return tsProtoGlobalThis.Buffer.from(arr).toString("base64");
99
101
  }
@@ -271,7 +271,7 @@ export declare const GenesisState: {
271
271
  } & {
272
272
  typeUrl?: string;
273
273
  value?: Uint8Array;
274
- } & { [K_9 in Exclude<keyof I["contracts"][number]["contractInfo"]["extension"], keyof import("../../google/protobuf/any").Any>]: never; };
274
+ } & { [K_9 in Exclude<keyof I["contracts"][number]["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
275
275
  } & { [K_10 in Exclude<keyof I["contracts"][number]["contractInfo"], keyof ContractInfo>]: never; };
276
276
  contractState?: {
277
277
  key?: Uint8Array;
@@ -605,7 +605,7 @@ export declare const GenesisState: {
605
605
  } & {
606
606
  typeUrl?: string;
607
607
  value?: Uint8Array;
608
- } & { [K_30 in Exclude<keyof I_1["contracts"][number]["contractInfo"]["extension"], keyof import("../../google/protobuf/any").Any>]: never; };
608
+ } & { [K_30 in Exclude<keyof I_1["contracts"][number]["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
609
609
  } & { [K_31 in Exclude<keyof I_1["contracts"][number]["contractInfo"], keyof ContractInfo>]: never; };
610
610
  contractState?: {
611
611
  key?: Uint8Array;
@@ -856,7 +856,7 @@ export declare const Contract: {
856
856
  } & {
857
857
  typeUrl?: string;
858
858
  value?: Uint8Array;
859
- } & { [K_1 in Exclude<keyof I["contractInfo"]["extension"], keyof import("../../google/protobuf/any").Any>]: never; };
859
+ } & { [K_1 in Exclude<keyof I["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
860
860
  } & { [K_2 in Exclude<keyof I["contractInfo"], keyof ContractInfo>]: never; };
861
861
  contractState?: {
862
862
  key?: Uint8Array;
@@ -973,7 +973,7 @@ export declare const Contract: {
973
973
  } & {
974
974
  typeUrl?: string;
975
975
  value?: Uint8Array;
976
- } & { [K_10 in Exclude<keyof I_1["contractInfo"]["extension"], keyof import("../../google/protobuf/any").Any>]: never; };
976
+ } & { [K_10 in Exclude<keyof I_1["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
977
977
  } & { [K_11 in Exclude<keyof I_1["contractInfo"], keyof ContractInfo>]: never; };
978
978
  contractState?: {
979
979
  key?: Uint8Array;
@@ -259,7 +259,7 @@ export declare const QueryContractInfoResponse: {
259
259
  } & {
260
260
  typeUrl?: string;
261
261
  value?: Uint8Array;
262
- } & { [K_1 in Exclude<keyof I["contractInfo"]["extension"], keyof import("../../google/protobuf/any").Any>]: never; };
262
+ } & { [K_1 in Exclude<keyof I["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
263
263
  } & { [K_2 in Exclude<keyof I["contractInfo"], keyof ContractInfo>]: never; };
264
264
  } & { [K_3 in Exclude<keyof I, keyof QueryContractInfoResponse>]: never; }>(base?: I): QueryContractInfoResponse;
265
265
  fromPartial<I_1 extends {
@@ -314,7 +314,7 @@ export declare const QueryContractInfoResponse: {
314
314
  } & {
315
315
  typeUrl?: string;
316
316
  value?: Uint8Array;
317
- } & { [K_5 in Exclude<keyof I_1["contractInfo"]["extension"], keyof import("../../google/protobuf/any").Any>]: never; };
317
+ } & { [K_5 in Exclude<keyof I_1["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
318
318
  } & { [K_6 in Exclude<keyof I_1["contractInfo"], keyof ContractInfo>]: never; };
319
319
  } & { [K_7 in Exclude<keyof I_1, keyof QueryContractInfoResponse>]: never; }>(object: I_1): QueryContractInfoResponse;
320
320
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coreum-js",
3
- "version": "2.8.20",
3
+ "version": "2.8.21",
4
4
  "description": "JS/TS Library to to easily make use of the Coreum Blockchain",
5
5
  "main": "dist/main/index.js",
6
6
  "module": "dist/module/index.js",