@ark-us/wasmxjs 0.0.2 → 0.0.4

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 (114) hide show
  1. package/README.md +1 -1
  2. package/main/codegen/index.js +10 -10
  3. package/main/codegen/{wasmx → mythos}/bundle.js +32 -26
  4. package/main/codegen/{wasmx → mythos}/client.js +19 -19
  5. package/main/codegen/{wasmx → mythos}/index.js +9 -9
  6. package/main/codegen/{wasmx → mythos}/rpc.query.js +16 -10
  7. package/main/codegen/{wasmx → mythos}/rpc.tx.js +18 -12
  8. package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/contract.js +1 -1
  9. package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/genesis.js +1 -1
  10. package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.js +3 -3
  11. package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.rpc.Query.js +9 -9
  12. package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.js +17 -17
  13. package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.js +2 -2
  14. package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.js +41 -41
  15. package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.rpc.msg.js +8 -8
  16. package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.js +1 -1
  17. package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/params.js +1 -1
  18. package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.js +1 -1
  19. package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/query.js +2 -2
  20. package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/query.rpc.Query.js +7 -7
  21. package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.amino.js +7 -7
  22. package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.js +1 -1
  23. package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.js +16 -16
  24. package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.rpc.msg.js +3 -3
  25. package/main/codegen/tendermint/bundle.js +17 -17
  26. package/module/codegen/index.js +3 -3
  27. package/module/codegen/mythos/bundle.js +35 -0
  28. package/module/codegen/{wasmx → mythos}/client.js +11 -11
  29. package/module/codegen/mythos/index.js +11 -0
  30. package/module/codegen/{wasmx → mythos}/rpc.query.js +7 -3
  31. package/module/codegen/mythos/rpc.tx.js +12 -0
  32. package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/contract.js +1 -1
  33. package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/genesis.js +1 -1
  34. package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.js +3 -3
  35. package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.rpc.Query.js +9 -9
  36. package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.js +17 -17
  37. package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.js +2 -2
  38. package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.js +41 -41
  39. package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.rpc.msg.js +8 -8
  40. package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.js +1 -1
  41. package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/params.js +1 -1
  42. package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.js +1 -1
  43. package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/query.js +2 -2
  44. package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/query.rpc.Query.js +7 -7
  45. package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.amino.js +7 -7
  46. package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.js +1 -1
  47. package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.js +16 -16
  48. package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.rpc.msg.js +3 -3
  49. package/module/codegen/tendermint/bundle.js +17 -17
  50. package/package.json +1 -1
  51. package/src/codegen/index.ts +3 -3
  52. package/src/codegen/mythos/bundle.ts +49 -0
  53. package/src/codegen/{wasmx → mythos}/client.ts +12 -12
  54. package/src/codegen/mythos/index.ts +11 -0
  55. package/src/codegen/{wasmx → mythos}/rpc.query.ts +7 -3
  56. package/src/codegen/mythos/rpc.tx.ts +15 -0
  57. package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/contract.ts +1 -1
  58. package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/genesis.ts +1 -1
  59. package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.rpc.Query.ts +10 -10
  60. package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.ts +3 -3
  61. package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.ts +25 -25
  62. package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.ts +41 -41
  63. package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.rpc.msg.ts +9 -9
  64. package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.ts +2 -2
  65. package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.ts +1 -1
  66. package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/params.ts +1 -1
  67. package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.ts +1 -1
  68. package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/query.rpc.Query.ts +8 -8
  69. package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/query.ts +2 -2
  70. package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.amino.ts +10 -10
  71. package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.ts +16 -16
  72. package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.rpc.msg.ts +4 -4
  73. package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.ts +1 -1
  74. package/src/codegen/tendermint/bundle.ts +22 -22
  75. package/types/codegen/index.d.ts +3 -3
  76. package/types/codegen/mythos/bundle.d.ts +1039 -0
  77. package/types/codegen/{wasmx → mythos}/client.d.ts +37 -37
  78. package/types/codegen/mythos/index.d.ts +11 -0
  79. package/types/codegen/mythos/rpc.query.d.ts +45 -0
  80. package/types/codegen/mythos/rpc.tx.d.ts +13 -0
  81. package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/contract.d.ts +1 -1
  82. package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/genesis.d.ts +1 -1
  83. package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.d.ts +3 -3
  84. package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.rpc.Query.d.ts +1 -1
  85. package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.d.ts +16 -16
  86. package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.d.ts +2 -2
  87. package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.rpc.msg.d.ts +1 -1
  88. package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/query.d.ts +2 -2
  89. package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/query.rpc.Query.d.ts +1 -1
  90. package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.amino.d.ts +6 -6
  91. package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.d.ts +1 -1
  92. package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.rpc.msg.d.ts +1 -1
  93. package/types/codegen/tendermint/bundle.d.ts +456 -456
  94. package/module/codegen/wasmx/bundle.js +0 -29
  95. package/module/codegen/wasmx/index.js +0 -11
  96. package/module/codegen/wasmx/rpc.tx.js +0 -8
  97. package/src/codegen/wasmx/bundle.ts +0 -45
  98. package/src/codegen/wasmx/index.ts +0 -11
  99. package/src/codegen/wasmx/rpc.tx.ts +0 -11
  100. package/types/codegen/wasmx/bundle.d.ts +0 -1027
  101. package/types/codegen/wasmx/index.d.ts +0 -11
  102. package/types/codegen/wasmx/lcd.d.ts +0 -14
  103. package/types/codegen/wasmx/rpc.query.d.ts +0 -41
  104. package/types/codegen/wasmx/rpc.tx.d.ts +0 -9
  105. package/types/codegen/wasmx/wasmx/query.lcd.d.ts +0 -17
  106. /package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.js +0 -0
  107. /package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.js +0 -0
  108. /package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.ts +0 -0
  109. /package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.d.ts +0 -0
  110. /package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.d.ts +0 -0
  111. /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.d.ts +0 -0
  112. /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/params.d.ts +0 -0
  113. /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.d.ts +0 -0
  114. /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.d.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  import { GeneratedType, Registry } from "@cosmjs/proto-signing";
2
2
  import { MsgRegisterOAuthClient, MsgEditOAuthClient, MsgDeregisterOAuthClient } from "./tx";
3
- export const registry: ReadonlyArray<[string, GeneratedType]> = [["/wasmx.websrv.MsgRegisterOAuthClient", MsgRegisterOAuthClient], ["/wasmx.websrv.MsgEditOAuthClient", MsgEditOAuthClient], ["/wasmx.websrv.MsgDeregisterOAuthClient", MsgDeregisterOAuthClient]];
3
+ export const registry: ReadonlyArray<[string, GeneratedType]> = [["/mythos.websrv.v1.MsgRegisterOAuthClient", MsgRegisterOAuthClient], ["/mythos.websrv.v1.MsgEditOAuthClient", MsgEditOAuthClient], ["/mythos.websrv.v1.MsgDeregisterOAuthClient", MsgDeregisterOAuthClient]];
4
4
  export const load = (protoRegistry: Registry) => {
5
5
  registry.forEach(([typeUrl, mod]) => {
6
6
  protoRegistry.register(typeUrl, mod);
@@ -10,21 +10,21 @@ export const MessageComposer = {
10
10
  encoded: {
11
11
  registerOAuthClient(value: MsgRegisterOAuthClient) {
12
12
  return {
13
- typeUrl: "/wasmx.websrv.MsgRegisterOAuthClient",
13
+ typeUrl: "/mythos.websrv.v1.MsgRegisterOAuthClient",
14
14
  value: MsgRegisterOAuthClient.encode(value).finish()
15
15
  };
16
16
  },
17
17
 
18
18
  editOAuthClient(value: MsgEditOAuthClient) {
19
19
  return {
20
- typeUrl: "/wasmx.websrv.MsgEditOAuthClient",
20
+ typeUrl: "/mythos.websrv.v1.MsgEditOAuthClient",
21
21
  value: MsgEditOAuthClient.encode(value).finish()
22
22
  };
23
23
  },
24
24
 
25
25
  deregisterOAuthClient(value: MsgDeregisterOAuthClient) {
26
26
  return {
27
- typeUrl: "/wasmx.websrv.MsgDeregisterOAuthClient",
27
+ typeUrl: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
28
28
  value: MsgDeregisterOAuthClient.encode(value).finish()
29
29
  };
30
30
  }
@@ -33,21 +33,21 @@ export const MessageComposer = {
33
33
  withTypeUrl: {
34
34
  registerOAuthClient(value: MsgRegisterOAuthClient) {
35
35
  return {
36
- typeUrl: "/wasmx.websrv.MsgRegisterOAuthClient",
36
+ typeUrl: "/mythos.websrv.v1.MsgRegisterOAuthClient",
37
37
  value
38
38
  };
39
39
  },
40
40
 
41
41
  editOAuthClient(value: MsgEditOAuthClient) {
42
42
  return {
43
- typeUrl: "/wasmx.websrv.MsgEditOAuthClient",
43
+ typeUrl: "/mythos.websrv.v1.MsgEditOAuthClient",
44
44
  value
45
45
  };
46
46
  },
47
47
 
48
48
  deregisterOAuthClient(value: MsgDeregisterOAuthClient) {
49
49
  return {
50
- typeUrl: "/wasmx.websrv.MsgDeregisterOAuthClient",
50
+ typeUrl: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
51
51
  value
52
52
  };
53
53
  }
@@ -56,21 +56,21 @@ export const MessageComposer = {
56
56
  toJSON: {
57
57
  registerOAuthClient(value: MsgRegisterOAuthClient) {
58
58
  return {
59
- typeUrl: "/wasmx.websrv.MsgRegisterOAuthClient",
59
+ typeUrl: "/mythos.websrv.v1.MsgRegisterOAuthClient",
60
60
  value: MsgRegisterOAuthClient.toJSON(value)
61
61
  };
62
62
  },
63
63
 
64
64
  editOAuthClient(value: MsgEditOAuthClient) {
65
65
  return {
66
- typeUrl: "/wasmx.websrv.MsgEditOAuthClient",
66
+ typeUrl: "/mythos.websrv.v1.MsgEditOAuthClient",
67
67
  value: MsgEditOAuthClient.toJSON(value)
68
68
  };
69
69
  },
70
70
 
71
71
  deregisterOAuthClient(value: MsgDeregisterOAuthClient) {
72
72
  return {
73
- typeUrl: "/wasmx.websrv.MsgDeregisterOAuthClient",
73
+ typeUrl: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
74
74
  value: MsgDeregisterOAuthClient.toJSON(value)
75
75
  };
76
76
  }
@@ -79,21 +79,21 @@ export const MessageComposer = {
79
79
  fromJSON: {
80
80
  registerOAuthClient(value: any) {
81
81
  return {
82
- typeUrl: "/wasmx.websrv.MsgRegisterOAuthClient",
82
+ typeUrl: "/mythos.websrv.v1.MsgRegisterOAuthClient",
83
83
  value: MsgRegisterOAuthClient.fromJSON(value)
84
84
  };
85
85
  },
86
86
 
87
87
  editOAuthClient(value: any) {
88
88
  return {
89
- typeUrl: "/wasmx.websrv.MsgEditOAuthClient",
89
+ typeUrl: "/mythos.websrv.v1.MsgEditOAuthClient",
90
90
  value: MsgEditOAuthClient.fromJSON(value)
91
91
  };
92
92
  },
93
93
 
94
94
  deregisterOAuthClient(value: any) {
95
95
  return {
96
- typeUrl: "/wasmx.websrv.MsgDeregisterOAuthClient",
96
+ typeUrl: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
97
97
  value: MsgDeregisterOAuthClient.fromJSON(value)
98
98
  };
99
99
  }
@@ -102,21 +102,21 @@ export const MessageComposer = {
102
102
  fromPartial: {
103
103
  registerOAuthClient(value: MsgRegisterOAuthClient) {
104
104
  return {
105
- typeUrl: "/wasmx.websrv.MsgRegisterOAuthClient",
105
+ typeUrl: "/mythos.websrv.v1.MsgRegisterOAuthClient",
106
106
  value: MsgRegisterOAuthClient.fromPartial(value)
107
107
  };
108
108
  },
109
109
 
110
110
  editOAuthClient(value: MsgEditOAuthClient) {
111
111
  return {
112
- typeUrl: "/wasmx.websrv.MsgEditOAuthClient",
112
+ typeUrl: "/mythos.websrv.v1.MsgEditOAuthClient",
113
113
  value: MsgEditOAuthClient.fromPartial(value)
114
114
  };
115
115
  },
116
116
 
117
117
  deregisterOAuthClient(value: MsgDeregisterOAuthClient) {
118
118
  return {
119
- typeUrl: "/wasmx.websrv.MsgDeregisterOAuthClient",
119
+ typeUrl: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
120
120
  value: MsgDeregisterOAuthClient.fromPartial(value)
121
121
  };
122
122
  }
@@ -1,4 +1,4 @@
1
- import { Rpc } from "../../helpers";
1
+ import { Rpc } from "../../../helpers";
2
2
  import * as _m0 from "protobufjs/minimal";
3
3
  import { MsgRegisterOAuthClient, MsgRegisterOAuthClientResponse, MsgEditOAuthClient, MsgEditOAuthClientResponse, MsgDeregisterOAuthClient, MsgDeregisterOAuthClientResponse } from "./tx";
4
4
  /** Msg defines the Msg service. */
@@ -25,19 +25,19 @@ export class MsgClientImpl implements Msg {
25
25
 
26
26
  registerOAuthClient(request: MsgRegisterOAuthClient): Promise<MsgRegisterOAuthClientResponse> {
27
27
  const data = MsgRegisterOAuthClient.encode(request).finish();
28
- const promise = this.rpc.request("wasmx.websrv.Msg", "RegisterOAuthClient", data);
28
+ const promise = this.rpc.request("mythos.websrv.v1.Msg", "RegisterOAuthClient", data);
29
29
  return promise.then(data => MsgRegisterOAuthClientResponse.decode(new _m0.Reader(data)));
30
30
  }
31
31
 
32
32
  editOAuthClient(request: MsgEditOAuthClient): Promise<MsgEditOAuthClientResponse> {
33
33
  const data = MsgEditOAuthClient.encode(request).finish();
34
- const promise = this.rpc.request("wasmx.websrv.Msg", "EditOAuthClient", data);
34
+ const promise = this.rpc.request("mythos.websrv.v1.Msg", "EditOAuthClient", data);
35
35
  return promise.then(data => MsgEditOAuthClientResponse.decode(new _m0.Reader(data)));
36
36
  }
37
37
 
38
38
  deregisterOAuthClient(request: MsgDeregisterOAuthClient): Promise<MsgDeregisterOAuthClientResponse> {
39
39
  const data = MsgDeregisterOAuthClient.encode(request).finish();
40
- const promise = this.rpc.request("wasmx.websrv.Msg", "DeregisterOAuthClient", data);
40
+ const promise = this.rpc.request("mythos.websrv.v1.Msg", "DeregisterOAuthClient", data);
41
41
  return promise.then(data => MsgDeregisterOAuthClientResponse.decode(new _m0.Reader(data)));
42
42
  }
43
43
 
@@ -1,5 +1,5 @@
1
1
  import * as _m0 from "protobufjs/minimal";
2
- import { isSet, Long } from "../../helpers";
2
+ import { isSet, Long } from "../../../helpers";
3
3
  export interface MsgRegisterOAuthClient {
4
4
  /** bech32 address */
5
5
  owner: string;
@@ -1,32 +1,32 @@
1
- import * as _18 from "./abci/types";
2
- import * as _19 from "./crypto/keys";
3
- import * as _20 from "./crypto/proof";
4
- import * as _21 from "./libs/bits/types";
5
- import * as _22 from "./p2p/types";
6
- import * as _23 from "./types/block";
7
- import * as _24 from "./types/evidence";
8
- import * as _25 from "./types/params";
9
- import * as _26 from "./types/types";
10
- import * as _27 from "./types/validator";
11
- import * as _28 from "./version/types";
1
+ import * as _28 from "./abci/types";
2
+ import * as _29 from "./crypto/keys";
3
+ import * as _30 from "./crypto/proof";
4
+ import * as _31 from "./libs/bits/types";
5
+ import * as _32 from "./p2p/types";
6
+ import * as _33 from "./types/block";
7
+ import * as _34 from "./types/evidence";
8
+ import * as _35 from "./types/params";
9
+ import * as _36 from "./types/types";
10
+ import * as _37 from "./types/validator";
11
+ import * as _38 from "./version/types";
12
12
  export namespace tendermint {
13
- export const abci = { ..._18
13
+ export const abci = { ..._28
14
14
  };
15
- export const crypto = { ..._19,
16
- ..._20
15
+ export const crypto = { ..._29,
16
+ ..._30
17
17
  };
18
18
  export namespace libs {
19
- export const bits = { ..._21
19
+ export const bits = { ..._31
20
20
  };
21
21
  }
22
- export const p2p = { ..._22
22
+ export const p2p = { ..._32
23
23
  };
24
- export const types = { ..._23,
25
- ..._24,
26
- ..._25,
27
- ..._26,
28
- ..._27
24
+ export const types = { ..._33,
25
+ ..._34,
26
+ ..._35,
27
+ ..._36,
28
+ ..._37
29
29
  };
30
- export const version = { ..._28
30
+ export const version = { ..._38
31
31
  };
32
32
  }
@@ -6,8 +6,8 @@
6
6
  export * from "./cosmos/bundle";
7
7
  export * from "./gogoproto/bundle";
8
8
  export * from "./google/bundle";
9
+ export * from "./mythos/bundle";
10
+ export * from "./mythos/client";
9
11
  export * from "./tendermint/bundle";
10
- export * from "./wasmx/bundle";
11
- export * from "./wasmx/client";
12
- export * from "./wasmx/index";
12
+ export * from "./mythos/index";
13
13
  export * from "./extern";