@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.
- package/README.md +1 -1
- package/main/codegen/index.js +10 -10
- package/main/codegen/{wasmx → mythos}/bundle.js +32 -26
- package/main/codegen/{wasmx → mythos}/client.js +19 -19
- package/main/codegen/{wasmx → mythos}/index.js +9 -9
- package/main/codegen/{wasmx → mythos}/rpc.query.js +16 -10
- package/main/codegen/{wasmx → mythos}/rpc.tx.js +18 -12
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/contract.js +1 -1
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/genesis.js +1 -1
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.js +3 -3
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.rpc.Query.js +9 -9
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.js +17 -17
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.js +2 -2
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.js +41 -41
- package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.rpc.msg.js +8 -8
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.js +1 -1
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/params.js +1 -1
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.js +1 -1
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/query.js +2 -2
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/query.rpc.Query.js +7 -7
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.amino.js +7 -7
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.js +1 -1
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.js +16 -16
- package/main/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.rpc.msg.js +3 -3
- package/main/codegen/tendermint/bundle.js +17 -17
- package/module/codegen/index.js +3 -3
- package/module/codegen/mythos/bundle.js +35 -0
- package/module/codegen/{wasmx → mythos}/client.js +11 -11
- package/module/codegen/mythos/index.js +11 -0
- package/module/codegen/{wasmx → mythos}/rpc.query.js +7 -3
- package/module/codegen/mythos/rpc.tx.js +12 -0
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/contract.js +1 -1
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/genesis.js +1 -1
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.js +3 -3
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.rpc.Query.js +9 -9
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.js +17 -17
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.js +2 -2
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.js +41 -41
- package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.rpc.msg.js +8 -8
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.js +1 -1
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/params.js +1 -1
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.js +1 -1
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/query.js +2 -2
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/query.rpc.Query.js +7 -7
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.amino.js +7 -7
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.js +1 -1
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.js +16 -16
- package/module/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.rpc.msg.js +3 -3
- package/module/codegen/tendermint/bundle.js +17 -17
- package/package.json +1 -1
- package/src/codegen/index.ts +3 -3
- package/src/codegen/mythos/bundle.ts +49 -0
- package/src/codegen/{wasmx → mythos}/client.ts +12 -12
- package/src/codegen/mythos/index.ts +11 -0
- package/src/codegen/{wasmx → mythos}/rpc.query.ts +7 -3
- package/src/codegen/mythos/rpc.tx.ts +15 -0
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/contract.ts +1 -1
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/genesis.ts +1 -1
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.rpc.Query.ts +10 -10
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.ts +3 -3
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.ts +25 -25
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.ts +41 -41
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.rpc.msg.ts +9 -9
- package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.ts +2 -2
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.ts +1 -1
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/params.ts +1 -1
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.ts +1 -1
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/query.rpc.Query.ts +8 -8
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/query.ts +2 -2
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.amino.ts +10 -10
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.ts +16 -16
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.rpc.msg.ts +4 -4
- package/src/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.ts +1 -1
- package/src/codegen/tendermint/bundle.ts +22 -22
- package/types/codegen/index.d.ts +3 -3
- package/types/codegen/mythos/bundle.d.ts +1039 -0
- package/types/codegen/{wasmx → mythos}/client.d.ts +37 -37
- package/types/codegen/mythos/index.d.ts +11 -0
- package/types/codegen/mythos/rpc.query.d.ts +45 -0
- package/types/codegen/mythos/rpc.tx.d.ts +13 -0
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/contract.d.ts +1 -1
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/genesis.d.ts +1 -1
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.d.ts +3 -3
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/query.rpc.Query.d.ts +1 -1
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.d.ts +16 -16
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.d.ts +2 -2
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.rpc.msg.d.ts +1 -1
- package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/query.d.ts +2 -2
- package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/query.rpc.Query.d.ts +1 -1
- package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.amino.d.ts +6 -6
- package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.d.ts +1 -1
- package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.rpc.msg.d.ts +1 -1
- package/types/codegen/tendermint/bundle.d.ts +456 -456
- package/module/codegen/wasmx/bundle.js +0 -29
- package/module/codegen/wasmx/index.js +0 -11
- package/module/codegen/wasmx/rpc.tx.js +0 -8
- package/src/codegen/wasmx/bundle.ts +0 -45
- package/src/codegen/wasmx/index.ts +0 -11
- package/src/codegen/wasmx/rpc.tx.ts +0 -11
- package/types/codegen/wasmx/bundle.d.ts +0 -1027
- package/types/codegen/wasmx/index.d.ts +0 -11
- package/types/codegen/wasmx/lcd.d.ts +0 -14
- package/types/codegen/wasmx/rpc.query.d.ts +0 -41
- package/types/codegen/wasmx/rpc.tx.d.ts +0 -9
- package/types/codegen/wasmx/wasmx/query.lcd.d.ts +0 -17
- /package/main/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.js +0 -0
- /package/module/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.js +0 -0
- /package/src/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.ts +0 -0
- /package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.d.ts +0 -0
- /package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.d.ts +0 -0
- /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.d.ts +0 -0
- /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/params.d.ts +0 -0
- /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.d.ts +0 -0
- /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]> = [["/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
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: "/
|
|
119
|
+
typeUrl: "/mythos.websrv.v1.MsgDeregisterOAuthClient",
|
|
120
120
|
value: MsgDeregisterOAuthClient.fromPartial(value)
|
|
121
121
|
};
|
|
122
122
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Rpc } from "
|
|
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("
|
|
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("
|
|
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("
|
|
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,32 +1,32 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
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 = { ...
|
|
13
|
+
export const abci = { ..._28
|
|
14
14
|
};
|
|
15
|
-
export const crypto = { ...
|
|
16
|
-
...
|
|
15
|
+
export const crypto = { ..._29,
|
|
16
|
+
..._30
|
|
17
17
|
};
|
|
18
18
|
export namespace libs {
|
|
19
|
-
export const bits = { ...
|
|
19
|
+
export const bits = { ..._31
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
export const p2p = { ...
|
|
22
|
+
export const p2p = { ..._32
|
|
23
23
|
};
|
|
24
|
-
export const types = { ...
|
|
25
|
-
...
|
|
26
|
-
...
|
|
27
|
-
...
|
|
28
|
-
...
|
|
24
|
+
export const types = { ..._33,
|
|
25
|
+
..._34,
|
|
26
|
+
..._35,
|
|
27
|
+
..._36,
|
|
28
|
+
..._37
|
|
29
29
|
};
|
|
30
|
-
export const version = { ...
|
|
30
|
+
export const version = { ..._38
|
|
31
31
|
};
|
|
32
32
|
}
|
package/types/codegen/index.d.ts
CHANGED
|
@@ -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 "./
|
|
11
|
-
export * from "./wasmx/client";
|
|
12
|
-
export * from "./wasmx/index";
|
|
12
|
+
export * from "./mythos/index";
|
|
13
13
|
export * from "./extern";
|