@nadohq/mobile-client 0.34.0 → 0.36.0
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 +0 -11
- package/dist/{MobileClient-SQ7byUxo.cjs → MobileClient-D5TNTnLx.cjs} +3 -21
- package/dist/MobileClient-D5TNTnLx.cjs.map +1 -0
- package/dist/MobileClient.cjs +1 -1
- package/dist/MobileClient.d.cts +10 -16
- package/dist/MobileClient.d.cts.map +1 -1
- package/dist/MobileClient.d.ts +10 -16
- package/dist/MobileClient.d.ts.map +1 -1
- package/dist/MobileClient.js +4 -22
- package/dist/MobileClient.js.map +1 -1
- package/dist/{MobileServerFailureError-N3nGgdmg.d.cts → MobileServerFailureError-CPFjwUBx.d.cts} +3 -3
- package/dist/{MobileServerFailureError-N3nGgdmg.d.cts.map → MobileServerFailureError-CPFjwUBx.d.cts.map} +1 -1
- package/dist/{MobileServerFailureError-A2EcYe6Y.d.ts → MobileServerFailureError-Terv2Wzy.d.ts} +3 -3
- package/dist/{MobileServerFailureError-A2EcYe6Y.d.ts.map → MobileServerFailureError-Terv2Wzy.d.ts.map} +1 -1
- package/dist/{buildSignedMobileRequest-B8iVGxQc.d.ts → buildSignedMobileRequest-BScnCGPF.d.ts} +2 -2
- package/dist/{buildSignedMobileRequest-B8iVGxQc.d.ts.map → buildSignedMobileRequest-BScnCGPF.d.ts.map} +1 -1
- package/dist/{buildSignedMobileRequest-CtRX4zl4.d.cts → buildSignedMobileRequest-CXfnhc-4.d.cts} +2 -2
- package/dist/{buildSignedMobileRequest-CtRX4zl4.d.cts.map → buildSignedMobileRequest-CXfnhc-4.d.cts.map} +1 -1
- package/dist/{canonicalize-Cz1rz_ER.d.ts → canonicalize-CQ-pMYIt.d.ts} +2 -2
- package/dist/canonicalize-CQ-pMYIt.d.ts.map +1 -0
- package/dist/{canonicalize-afPLlUjE.d.cts → canonicalize-hzhboB-C.d.cts} +2 -2
- package/dist/canonicalize-hzhboB-C.d.cts.map +1 -0
- package/dist/{clientTypes-DqDZEcBu.d.ts → clientTypes-BwakovWk.d.cts} +3 -30
- package/dist/clientTypes-BwakovWk.d.cts.map +1 -0
- package/dist/{clientTypes-DIipTg9D.d.cts → clientTypes-D-o1_2Yc.d.ts} +3 -30
- package/dist/clientTypes-D-o1_2Yc.d.ts.map +1 -0
- package/dist/dataMappers.cjs +0 -12
- package/dist/dataMappers.cjs.map +1 -1
- package/dist/dataMappers.d.cts +4 -8
- package/dist/dataMappers.d.cts.map +1 -1
- package/dist/dataMappers.d.ts +4 -8
- package/dist/dataMappers.d.ts.map +1 -1
- package/dist/dataMappers.js +1 -12
- package/dist/dataMappers.js.map +1 -1
- package/dist/{eip712MethodByType-CUAcWwX0.d.cts → eip712MethodByType-3aiJkrHj.d.cts} +2 -2
- package/dist/eip712MethodByType-3aiJkrHj.d.cts.map +1 -0
- package/dist/{eip712MethodByType-BzfeoDTF.d.ts → eip712MethodByType-zNvZukU7.d.ts} +2 -2
- package/dist/eip712MethodByType-zNvZukU7.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/{payloadHash-yIWBW4Iq.d.ts → payloadHash-BxL26uwq.d.ts} +2 -2
- package/dist/payloadHash-BxL26uwq.d.ts.map +1 -0
- package/dist/{payloadHash-CgKXMvZU.d.cts → payloadHash-DVkEt-Rg.d.cts} +2 -2
- package/dist/payloadHash-DVkEt-Rg.d.cts.map +1 -0
- package/dist/{serverBaseTypes-ClQZqTAK.d.ts → serverBaseTypes-B_KHFDab.d.ts} +2 -2
- package/dist/{serverBaseTypes-ClQZqTAK.d.ts.map → serverBaseTypes-B_KHFDab.d.ts.map} +1 -1
- package/dist/{serverBaseTypes-_a1pE464.d.cts → serverBaseTypes-C8KjE9Fm.d.cts} +2 -2
- package/dist/{serverBaseTypes-_a1pE464.d.cts.map → serverBaseTypes-C8KjE9Fm.d.cts.map} +1 -1
- package/dist/{serverExecuteTypes-CUla9jFj.d.cts → serverExecuteTypes-Cb5v7y0A.d.cts} +3 -3
- package/dist/{serverExecuteTypes-CUla9jFj.d.cts.map → serverExecuteTypes-Cb5v7y0A.d.cts.map} +1 -1
- package/dist/{serverExecuteTypes-BD8Awy8Q.d.ts → serverExecuteTypes-GFjZj_DC.d.ts} +3 -3
- package/dist/{serverExecuteTypes-BD8Awy8Q.d.ts.map → serverExecuteTypes-GFjZj_DC.d.ts.map} +1 -1
- package/dist/{serverModelTypes-BIGPd52y.d.ts → serverModelTypes-CwgibK-l.d.cts} +2 -12
- package/dist/serverModelTypes-CwgibK-l.d.cts.map +1 -0
- package/dist/{serverModelTypes-DGYc_3XP.d.cts → serverModelTypes-_cX99seo.d.ts} +2 -12
- package/dist/serverModelTypes-_cX99seo.d.ts.map +1 -0
- package/dist/{serverQueryTypes-4J8qNQld.d.ts → serverQueryTypes-DwE1iJ9f.d.cts} +5 -27
- package/dist/serverQueryTypes-DwE1iJ9f.d.cts.map +1 -0
- package/dist/{serverQueryTypes-C_rvZnol.d.cts → serverQueryTypes-NIrPm2Sl.d.ts} +5 -27
- package/dist/serverQueryTypes-NIrPm2Sl.d.ts.map +1 -0
- package/dist/{serverRequestTypes-w1r41ff7.d.ts → serverRequestTypes-516zXnQ6.d.ts} +9 -24
- package/dist/{serverRequestTypes-w1r41ff7.d.ts.map → serverRequestTypes-516zXnQ6.d.ts.map} +1 -1
- package/dist/{serverRequestTypes-Cw661qjM.d.cts → serverRequestTypes-GAtVYIda.d.cts} +9 -24
- package/dist/{serverRequestTypes-Cw661qjM.d.cts.map → serverRequestTypes-GAtVYIda.d.cts.map} +1 -1
- package/dist/{serverResponseGuards-DNJZw8yq.d.ts → serverResponseGuards-Cep5s7j5.d.ts} +2 -2
- package/dist/{serverResponseGuards-DNJZw8yq.d.ts.map → serverResponseGuards-Cep5s7j5.d.ts.map} +1 -1
- package/dist/{serverResponseGuards-DEyNjgwq.d.cts → serverResponseGuards-Dxt9_aGh.d.cts} +2 -2
- package/dist/{serverResponseGuards-DEyNjgwq.d.cts.map → serverResponseGuards-Dxt9_aGh.d.cts.map} +1 -1
- package/dist/signing/buildSignedMobileRequest.cjs +1 -1
- package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
- package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
- package/dist/signing/canonicalize.cjs +0 -1
- package/dist/signing/canonicalize.cjs.map +1 -1
- package/dist/signing/canonicalize.d.cts +1 -1
- package/dist/signing/canonicalize.d.ts +1 -1
- package/dist/signing/canonicalize.js +0 -1
- package/dist/signing/canonicalize.js.map +1 -1
- package/dist/signing/eip712MethodByType.cjs +0 -1
- package/dist/signing/eip712MethodByType.cjs.map +1 -1
- package/dist/signing/eip712MethodByType.d.cts +1 -1
- package/dist/signing/eip712MethodByType.d.ts +1 -1
- package/dist/signing/eip712MethodByType.js +0 -1
- package/dist/signing/eip712MethodByType.js.map +1 -1
- package/dist/signing/index.d.cts +5 -5
- package/dist/signing/index.d.ts +5 -5
- package/dist/signing/payloadHash.cjs +1 -1
- package/dist/signing/payloadHash.d.cts +1 -1
- package/dist/signing/payloadHash.d.ts +1 -1
- package/dist/signing/types.d.cts +1 -1
- package/dist/signing/types.d.ts +1 -1
- package/dist/types/MobileServerFailureError.cjs +1 -1
- package/dist/types/MobileServerFailureError.d.cts +1 -1
- package/dist/types/MobileServerFailureError.d.ts +1 -1
- package/dist/types/clientTypes.d.cts +2 -2
- package/dist/types/clientTypes.d.ts +2 -2
- package/dist/types/index.d.cts +8 -8
- package/dist/types/index.d.ts +8 -8
- package/dist/types/mobileErrorCodes.cjs +1 -1
- package/dist/types/serverBaseTypes.d.cts +1 -1
- package/dist/types/serverBaseTypes.d.ts +1 -1
- package/dist/types/serverExecuteTypes.d.cts +1 -1
- package/dist/types/serverExecuteTypes.d.ts +1 -1
- package/dist/types/serverModelTypes.cjs.map +1 -1
- package/dist/types/serverModelTypes.d.cts +2 -2
- package/dist/types/serverModelTypes.d.ts +2 -2
- package/dist/types/serverModelTypes.js.map +1 -1
- package/dist/types/serverQueryTypes.d.cts +2 -2
- package/dist/types/serverQueryTypes.d.ts +2 -2
- package/dist/types/serverRequestTypes.d.cts +2 -2
- package/dist/types/serverRequestTypes.d.ts +2 -2
- package/dist/{types-DNd9S0Rz.d.ts → types-47IPsDyA.d.cts} +3 -5
- package/dist/types-47IPsDyA.d.cts.map +1 -0
- package/dist/{types-BycRkqAj.d.cts → types-D5kFJzEX.d.ts} +3 -5
- package/dist/types-D5kFJzEX.d.ts.map +1 -0
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/serverResponseGuards.d.cts +1 -1
- package/dist/utils/serverResponseGuards.d.ts +1 -1
- package/package.json +3 -3
- package/src/MobileClient.ts +7 -45
- package/src/dataMappers.ts +0 -16
- package/src/signing/canonicalize.ts +0 -2
- package/src/signing/eip712MethodByType.ts +0 -1
- package/src/signing/signing.test.ts +0 -8
- package/src/signing/types.ts +0 -1
- package/src/types/clientTypes.ts +0 -29
- package/src/types/serverModelTypes.ts +0 -11
- package/src/types/serverQueryTypes.ts +0 -30
- package/src/types/serverRequestTypes.ts +4 -26
- package/dist/MobileClient-SQ7byUxo.cjs.map +0 -1
- package/dist/canonicalize-Cz1rz_ER.d.ts.map +0 -1
- package/dist/canonicalize-afPLlUjE.d.cts.map +0 -1
- package/dist/clientTypes-DIipTg9D.d.cts.map +0 -1
- package/dist/clientTypes-DqDZEcBu.d.ts.map +0 -1
- package/dist/eip712MethodByType-BzfeoDTF.d.ts.map +0 -1
- package/dist/eip712MethodByType-CUAcWwX0.d.cts.map +0 -1
- package/dist/payloadHash-CgKXMvZU.d.cts.map +0 -1
- package/dist/payloadHash-yIWBW4Iq.d.ts.map +0 -1
- package/dist/serverModelTypes-BIGPd52y.d.ts.map +0 -1
- package/dist/serverModelTypes-DGYc_3XP.d.cts.map +0 -1
- package/dist/serverQueryTypes-4J8qNQld.d.ts.map +0 -1
- package/dist/serverQueryTypes-C_rvZnol.d.cts.map +0 -1
- package/dist/types-BycRkqAj.d.cts.map +0 -1
- package/dist/types-DNd9S0Rz.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as MobileServerFeedTrade,
|
|
2
|
-
import { a as MobileServerPublicQueryRequestType,
|
|
3
|
-
import { n as MobileServerSuccessResponse } from "./serverBaseTypes-
|
|
1
|
+
import { d as MobileServerFeedTrade, h as MobileServerProfile, l as MobileNotificationPlatform, m as MobileServerNotificationPreferences } from "./serverModelTypes-CwgibK-l.cjs";
|
|
2
|
+
import { a as MobileServerPublicQueryRequestType, i as MobileServerPublicQueryRequestByType } from "./serverRequestTypes-GAtVYIda.cjs";
|
|
3
|
+
import { n as MobileServerSuccessResponse } from "./serverBaseTypes-C8KjE9Fm.cjs";
|
|
4
4
|
import { Hex } from "viem";
|
|
5
5
|
|
|
6
6
|
//#region src/types/serverQueryTypes.d.ts
|
|
@@ -35,14 +35,6 @@ interface MobileServerFeedResponse {
|
|
|
35
35
|
*/
|
|
36
36
|
next_cursor: string | null;
|
|
37
37
|
}
|
|
38
|
-
/**
|
|
39
|
-
* Payload of the signed `self_identity` query success response. Every non-isolated subaccount has an implicit
|
|
40
|
-
* identity, so the backend returns one for any valid sender, with `null` name fields when no username has
|
|
41
|
-
* been claimed; `identity` stays nullable to match the backend's `Option`.
|
|
42
|
-
*/
|
|
43
|
-
interface MobileServerSelfIdentityResponse {
|
|
44
|
-
identity: MobileServerIdentity | null;
|
|
45
|
-
}
|
|
46
38
|
/**
|
|
47
39
|
* Payload of the `notification_preferences` public query success response.
|
|
48
40
|
*/
|
|
@@ -74,26 +66,12 @@ interface MobileServerPublicQueryResponseByType {
|
|
|
74
66
|
notification_preferences: MobileServerNotificationPreferencesResponse;
|
|
75
67
|
registered_wallet: MobileServerRegisteredWalletResponse;
|
|
76
68
|
}
|
|
77
|
-
/**
|
|
78
|
-
* Success payloads for each signed `query`, keyed by request `type`. Counterpart to
|
|
79
|
-
* {@link MobileServerSignedQueryRequestByType} so a signed query's request params and response share one
|
|
80
|
-
* lookup, matching the public route. Holds the unwrapped payload; the envelope is applied by
|
|
81
|
-
* {@link MobileServerSignedQuerySuccessResponse}.
|
|
82
|
-
*/
|
|
83
|
-
interface MobileServerSignedQueryResponseByType {
|
|
84
|
-
self_identity: MobileServerSelfIdentityResponse;
|
|
85
|
-
}
|
|
86
69
|
/**
|
|
87
70
|
* Full success response for an unsigned `public_query`: the {@link MobileServerSuccessResponse} envelope with
|
|
88
71
|
* the query's payload inlined alongside `status`. Derived from {@link MobileServerPublicQueryResponseByType},
|
|
89
72
|
* mirroring engine's `EngineServerQuerySuccessResponse` (inlined here instead of nested under `data`).
|
|
90
73
|
*/
|
|
91
74
|
type MobileServerPublicQuerySuccessResponse<T extends MobileServerPublicQueryRequestType = MobileServerPublicQueryRequestType> = MobileServerSuccessResponse & MobileServerPublicQueryResponseByType[T];
|
|
92
|
-
/**
|
|
93
|
-
* Full success response for a signed `query`: the {@link MobileServerSuccessResponse} envelope with the
|
|
94
|
-
* query's payload inlined alongside `status`. Derived from {@link MobileServerSignedQueryResponseByType}.
|
|
95
|
-
*/
|
|
96
|
-
type MobileServerSignedQuerySuccessResponse<T extends MobileServerSignedQueryRequestType = MobileServerSignedQueryRequestType> = MobileServerSuccessResponse & MobileServerSignedQueryResponseByType[T];
|
|
97
75
|
//#endregion
|
|
98
|
-
export { MobileServerPublicQueryResponseByType as a,
|
|
99
|
-
//# sourceMappingURL=serverQueryTypes-
|
|
76
|
+
export { MobileServerPublicQueryResponseByType as a, MobileServerUsernameAvailabilityResponse as c, MobileServerPublicQueryRequest as i, MobileServerNotificationPreferencesResponse as n, MobileServerPublicQuerySuccessResponse as o, MobileServerProfileResponse as r, MobileServerRegisteredWalletResponse as s, MobileServerFeedResponse as t };
|
|
77
|
+
//# sourceMappingURL=serverQueryTypes-DwE1iJ9f.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverQueryTypes-DwE1iJ9f.d.cts","names":[],"sources":["../src/types/src/types/serverQueryTypes.ts"],"mappings":";;;;;;;;AAgBA;KAAY,8BAAA,WACA,kCAAA,GACR,kCAAA,YAEI,kCAAA;EACJ,IAAA,EAAM,CAAA;AAAA,IACJ,oCAAA,CAAqC,CAAA,IACzC,CAAA;;;;UAKe,wCAAA;EACf,QAAA;EACA,SAAS;AAAA;;;;UAMM,2BAAA;EACf,OAAA,EAAS,mBAAmB;AAAA;;;;UAMb,wBAAA;EACf,MAAA,EAAQ,qBAAqB;EAhBd;;;;AAEN;EAoBT,WAAA;AAAA;;;AAb4B;UAmBb,2CAAA;EACf,WAAA,EAAa,mCAAmC;AAAA;;;;;UAOjC,oCAAA;EACf,MAAA,EAAQ,GAAA;EACR,QAAA,EAAU,0BAA0B;EACpC,MAAA;EACA,WAAA;EACA,wBAAA;EACA,YAAA;AAAA;;;;;;;UASe,qCAAA;EACf,qBAAA,EAAuB,wCAAA;EACvB,OAAA,EAAS,2BAAA;EACT,IAAA,EAAM,wBAAA;EACN,wBAAA,EAA0B,2CAAA;EAC1B,iBAAA,EAAmB,oCAAA;AAAA;AALrB;;;;;AAAA,KAaY,sCAAA,WACA,kCAAA,GACR,kCAAA,IACA,2BAAA,GAA8B,qCAAA,CAAsC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as MobileServerFeedTrade,
|
|
2
|
-
import { a as MobileServerPublicQueryRequestType,
|
|
3
|
-
import { n as MobileServerSuccessResponse } from "./serverBaseTypes-
|
|
1
|
+
import { d as MobileServerFeedTrade, h as MobileServerProfile, l as MobileNotificationPlatform, m as MobileServerNotificationPreferences } from "./serverModelTypes-_cX99seo.js";
|
|
2
|
+
import { a as MobileServerPublicQueryRequestType, i as MobileServerPublicQueryRequestByType } from "./serverRequestTypes-516zXnQ6.js";
|
|
3
|
+
import { n as MobileServerSuccessResponse } from "./serverBaseTypes-B_KHFDab.js";
|
|
4
4
|
import { Hex } from "viem";
|
|
5
5
|
|
|
6
6
|
//#region src/types/serverQueryTypes.d.ts
|
|
@@ -35,14 +35,6 @@ interface MobileServerFeedResponse {
|
|
|
35
35
|
*/
|
|
36
36
|
next_cursor: string | null;
|
|
37
37
|
}
|
|
38
|
-
/**
|
|
39
|
-
* Payload of the signed `self_identity` query success response. Every non-isolated subaccount has an implicit
|
|
40
|
-
* identity, so the backend returns one for any valid sender, with `null` name fields when no username has
|
|
41
|
-
* been claimed; `identity` stays nullable to match the backend's `Option`.
|
|
42
|
-
*/
|
|
43
|
-
interface MobileServerSelfIdentityResponse {
|
|
44
|
-
identity: MobileServerIdentity | null;
|
|
45
|
-
}
|
|
46
38
|
/**
|
|
47
39
|
* Payload of the `notification_preferences` public query success response.
|
|
48
40
|
*/
|
|
@@ -74,26 +66,12 @@ interface MobileServerPublicQueryResponseByType {
|
|
|
74
66
|
notification_preferences: MobileServerNotificationPreferencesResponse;
|
|
75
67
|
registered_wallet: MobileServerRegisteredWalletResponse;
|
|
76
68
|
}
|
|
77
|
-
/**
|
|
78
|
-
* Success payloads for each signed `query`, keyed by request `type`. Counterpart to
|
|
79
|
-
* {@link MobileServerSignedQueryRequestByType} so a signed query's request params and response share one
|
|
80
|
-
* lookup, matching the public route. Holds the unwrapped payload; the envelope is applied by
|
|
81
|
-
* {@link MobileServerSignedQuerySuccessResponse}.
|
|
82
|
-
*/
|
|
83
|
-
interface MobileServerSignedQueryResponseByType {
|
|
84
|
-
self_identity: MobileServerSelfIdentityResponse;
|
|
85
|
-
}
|
|
86
69
|
/**
|
|
87
70
|
* Full success response for an unsigned `public_query`: the {@link MobileServerSuccessResponse} envelope with
|
|
88
71
|
* the query's payload inlined alongside `status`. Derived from {@link MobileServerPublicQueryResponseByType},
|
|
89
72
|
* mirroring engine's `EngineServerQuerySuccessResponse` (inlined here instead of nested under `data`).
|
|
90
73
|
*/
|
|
91
74
|
type MobileServerPublicQuerySuccessResponse<T extends MobileServerPublicQueryRequestType = MobileServerPublicQueryRequestType> = MobileServerSuccessResponse & MobileServerPublicQueryResponseByType[T];
|
|
92
|
-
/**
|
|
93
|
-
* Full success response for a signed `query`: the {@link MobileServerSuccessResponse} envelope with the
|
|
94
|
-
* query's payload inlined alongside `status`. Derived from {@link MobileServerSignedQueryResponseByType}.
|
|
95
|
-
*/
|
|
96
|
-
type MobileServerSignedQuerySuccessResponse<T extends MobileServerSignedQueryRequestType = MobileServerSignedQueryRequestType> = MobileServerSuccessResponse & MobileServerSignedQueryResponseByType[T];
|
|
97
75
|
//#endregion
|
|
98
|
-
export { MobileServerPublicQueryResponseByType as a,
|
|
99
|
-
//# sourceMappingURL=serverQueryTypes-
|
|
76
|
+
export { MobileServerPublicQueryResponseByType as a, MobileServerUsernameAvailabilityResponse as c, MobileServerPublicQueryRequest as i, MobileServerNotificationPreferencesResponse as n, MobileServerPublicQuerySuccessResponse as o, MobileServerProfileResponse as r, MobileServerRegisteredWalletResponse as s, MobileServerFeedResponse as t };
|
|
77
|
+
//# sourceMappingURL=serverQueryTypes-NIrPm2Sl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverQueryTypes-NIrPm2Sl.d.ts","names":[],"sources":["../src/types/src/types/serverQueryTypes.ts"],"mappings":";;;;;;;;AAgBA;KAAY,8BAAA,WACA,kCAAA,GACR,kCAAA,YAEI,kCAAA;EACJ,IAAA,EAAM,CAAA;AAAA,IACJ,oCAAA,CAAqC,CAAA,IACzC,CAAA;;;;UAKe,wCAAA;EACf,QAAA;EACA,SAAS;AAAA;;;;UAMM,2BAAA;EACf,OAAA,EAAS,mBAAmB;AAAA;;;;UAMb,wBAAA;EACf,MAAA,EAAQ,qBAAqB;EAhBd;;;;AAEN;EAoBT,WAAA;AAAA;;;AAb4B;UAmBb,2CAAA;EACf,WAAA,EAAa,mCAAmC;AAAA;;;;;UAOjC,oCAAA;EACf,MAAA,EAAQ,GAAA;EACR,QAAA,EAAU,0BAA0B;EACpC,MAAA;EACA,WAAA;EACA,wBAAA;EACA,YAAA;AAAA;;;;;;;UASe,qCAAA;EACf,qBAAA,EAAuB,wCAAA;EACvB,OAAA,EAAS,2BAAA;EACT,IAAA,EAAM,wBAAA;EACN,wBAAA,EAA0B,2CAAA;EAC1B,iBAAA,EAAmB,oCAAA;AAAA;AALrB;;;;;AAAA,KAaY,sCAAA,WACA,kCAAA,GACR,kCAAA,IACA,2BAAA,GAA8B,qCAAA,CAAsC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as MobileSignedInner } from "./types-
|
|
1
|
+
import { m as MobileServerNotificationPreferences } from "./serverModelTypes-_cX99seo.js";
|
|
2
|
+
import { n as MobileSignedInner } from "./types-D5kFJzEX.js";
|
|
3
3
|
import { Hex } from "viem";
|
|
4
4
|
|
|
5
5
|
//#region src/types/serverRequestTypes.d.ts
|
|
@@ -56,32 +56,17 @@ interface MobileServerPublicExecuteRequestByType {
|
|
|
56
56
|
* Discriminant `type` values for unsigned `public_execute` requests.
|
|
57
57
|
*/
|
|
58
58
|
type MobileServerPublicExecuteRequestType = keyof MobileServerPublicExecuteRequestByType;
|
|
59
|
-
/**
|
|
60
|
-
* Params for each signed `query`, keyed by request `type`. These queries identify the caller through the
|
|
61
|
-
* signed envelope (`sender`) and take no further params, so every entry is empty — the signed counterpart to
|
|
62
|
-
* {@link MobileServerPublicQueryRequestByType}, kept so both query routes expose one params lookup keyed by
|
|
63
|
-
* type (matching engine's `EngineServerQueryRequestByType`, which likewise uses `Record<string, never>` for
|
|
64
|
-
* param-less queries).
|
|
65
|
-
*/
|
|
66
|
-
interface MobileServerSignedQueryRequestByType {
|
|
67
|
-
self_identity: Record<string, never>;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Discriminant `type` values for signed `query` requests: the read-only subset of {@link MobileSignedInner}
|
|
71
|
-
* tags, keyed the same way as {@link MobileServerPublicQueryRequestType}.
|
|
72
|
-
*/
|
|
73
|
-
type MobileServerSignedQueryRequestType = keyof MobileServerSignedQueryRequestByType;
|
|
74
59
|
/**
|
|
75
60
|
* Discriminant `type` values for signed `execute` requests: the write subset of {@link MobileSignedInner}
|
|
76
|
-
* tags
|
|
61
|
+
* tags. With no signed queries remaining, every signed inner type is an execute.
|
|
77
62
|
*/
|
|
78
|
-
type MobileServerExecuteRequestType =
|
|
63
|
+
type MobileServerExecuteRequestType = MobileSignedInner['type'];
|
|
79
64
|
/**
|
|
80
65
|
* Wire `request_type` the backend echoes on failure envelopes, prefixed by the route that produced it:
|
|
81
|
-
* `public_query_*` for unsigned queries, `public_execute_*` for unsigned writes, `
|
|
82
|
-
*
|
|
66
|
+
* `public_query_*` for unsigned queries, `public_execute_*` for unsigned writes, and `execute_*` for signed
|
|
67
|
+
* writes (e.g. `execute_set_username`).
|
|
83
68
|
*/
|
|
84
|
-
type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `
|
|
69
|
+
type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `execute_${MobileServerExecuteRequestType}`;
|
|
85
70
|
//#endregion
|
|
86
|
-
export { MobileServerPublicQueryRequestType as a,
|
|
87
|
-
//# sourceMappingURL=serverRequestTypes-
|
|
71
|
+
export { MobileServerPublicQueryRequestType as a, MobileServerPublicQueryRequestByType as i, MobileServerPublicExecuteRequestByType as n, MobileServerRequestType as o, MobileServerPublicExecuteRequestType as r, MobileServerExecuteRequestType as t };
|
|
72
|
+
//# sourceMappingURL=serverRequestTypes-516zXnQ6.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverRequestTypes-
|
|
1
|
+
{"version":3,"file":"serverRequestTypes-516zXnQ6.d.ts","names":[],"sources":["../src/types/src/types/serverRequestTypes.ts"],"mappings":";;;;;;;AAOA;UAAiB,oCAAA;EACf,qBAAA;IAAyB,YAAA;EAAA;EACzB,OAAA;IAAW,UAAA,EAAY,GAAG;EAAA;EAC1B,IAAA;IAAA;;;;IAKE,gBAAA,WAS0B;IAP1B,KAAA;IAQmB;;AAAU;AAMjC;IATI,MAAA;EAAA;EAEF,wBAAA;IAA4B,UAAA;EAAA;EAC5B,iBAAA;IAAqB,UAAA;EAAA;AAAA;;;;KAMX,kCAAA,SACJ,oCAAoC;;;AAYQ;AAOpD;;;UAXiB,sCAAA;EACf,qBAAA;IAAyB,UAAA;EAAA;EACzB,kBAAA;IACE,UAAA;IACA,WAAA,EAAa,mCAAmC;EAAA;AAAA;;;;KAOxC,oCAAA,SACJ,sCAAsC;;;;;KAMlC,8BAAA,GAAiC,iBAAiB;;AAUjB;;;;KAHjC,uBAAA,mBACQ,kCAAA,uBACE,oCAAA,gBACP,8BAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as MobileSignedInner } from "./types-
|
|
1
|
+
import { m as MobileServerNotificationPreferences } from "./serverModelTypes-CwgibK-l.cjs";
|
|
2
|
+
import { n as MobileSignedInner } from "./types-47IPsDyA.cjs";
|
|
3
3
|
import { Hex } from "viem";
|
|
4
4
|
|
|
5
5
|
//#region src/types/serverRequestTypes.d.ts
|
|
@@ -56,32 +56,17 @@ interface MobileServerPublicExecuteRequestByType {
|
|
|
56
56
|
* Discriminant `type` values for unsigned `public_execute` requests.
|
|
57
57
|
*/
|
|
58
58
|
type MobileServerPublicExecuteRequestType = keyof MobileServerPublicExecuteRequestByType;
|
|
59
|
-
/**
|
|
60
|
-
* Params for each signed `query`, keyed by request `type`. These queries identify the caller through the
|
|
61
|
-
* signed envelope (`sender`) and take no further params, so every entry is empty — the signed counterpart to
|
|
62
|
-
* {@link MobileServerPublicQueryRequestByType}, kept so both query routes expose one params lookup keyed by
|
|
63
|
-
* type (matching engine's `EngineServerQueryRequestByType`, which likewise uses `Record<string, never>` for
|
|
64
|
-
* param-less queries).
|
|
65
|
-
*/
|
|
66
|
-
interface MobileServerSignedQueryRequestByType {
|
|
67
|
-
self_identity: Record<string, never>;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Discriminant `type` values for signed `query` requests: the read-only subset of {@link MobileSignedInner}
|
|
71
|
-
* tags, keyed the same way as {@link MobileServerPublicQueryRequestType}.
|
|
72
|
-
*/
|
|
73
|
-
type MobileServerSignedQueryRequestType = keyof MobileServerSignedQueryRequestByType;
|
|
74
59
|
/**
|
|
75
60
|
* Discriminant `type` values for signed `execute` requests: the write subset of {@link MobileSignedInner}
|
|
76
|
-
* tags
|
|
61
|
+
* tags. With no signed queries remaining, every signed inner type is an execute.
|
|
77
62
|
*/
|
|
78
|
-
type MobileServerExecuteRequestType =
|
|
63
|
+
type MobileServerExecuteRequestType = MobileSignedInner['type'];
|
|
79
64
|
/**
|
|
80
65
|
* Wire `request_type` the backend echoes on failure envelopes, prefixed by the route that produced it:
|
|
81
|
-
* `public_query_*` for unsigned queries, `public_execute_*` for unsigned writes, `
|
|
82
|
-
*
|
|
66
|
+
* `public_query_*` for unsigned queries, `public_execute_*` for unsigned writes, and `execute_*` for signed
|
|
67
|
+
* writes (e.g. `execute_set_username`).
|
|
83
68
|
*/
|
|
84
|
-
type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `
|
|
69
|
+
type MobileServerRequestType = `public_query_${MobileServerPublicQueryRequestType}` | `public_execute_${MobileServerPublicExecuteRequestType}` | `execute_${MobileServerExecuteRequestType}`;
|
|
85
70
|
//#endregion
|
|
86
|
-
export { MobileServerPublicQueryRequestType as a,
|
|
87
|
-
//# sourceMappingURL=serverRequestTypes-
|
|
71
|
+
export { MobileServerPublicQueryRequestType as a, MobileServerPublicQueryRequestByType as i, MobileServerPublicExecuteRequestByType as n, MobileServerRequestType as o, MobileServerPublicExecuteRequestType as r, MobileServerExecuteRequestType as t };
|
|
72
|
+
//# sourceMappingURL=serverRequestTypes-GAtVYIda.d.cts.map
|
package/dist/{serverRequestTypes-Cw661qjM.d.cts.map → serverRequestTypes-GAtVYIda.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverRequestTypes-
|
|
1
|
+
{"version":3,"file":"serverRequestTypes-GAtVYIda.d.cts","names":[],"sources":["../src/types/src/types/serverRequestTypes.ts"],"mappings":";;;;;;;AAOA;UAAiB,oCAAA;EACf,qBAAA;IAAyB,YAAA;EAAA;EACzB,OAAA;IAAW,UAAA,EAAY,GAAG;EAAA;EAC1B,IAAA;IAAA;;;;IAKE,gBAAA,WAS0B;IAP1B,KAAA;IAQmB;;AAAU;AAMjC;IATI,MAAA;EAAA;EAEF,wBAAA;IAA4B,UAAA;EAAA;EAC5B,iBAAA;IAAqB,UAAA;EAAA;AAAA;;;;KAMX,kCAAA,SACJ,oCAAoC;;;AAYQ;AAOpD;;;UAXiB,sCAAA;EACf,qBAAA;IAAyB,UAAA;EAAA;EACzB,kBAAA;IACE,UAAA;IACA,WAAA,EAAa,mCAAmC;EAAA;AAAA;;;;KAOxC,oCAAA,SACJ,sCAAsC;;;;;KAMlC,8BAAA,GAAiC,iBAAiB;;AAUjB;;;;KAHjC,uBAAA,mBACQ,kCAAA,uBACE,oCAAA,gBACP,8BAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as MobileServerFailureResponse } from "./serverBaseTypes-
|
|
1
|
+
import { t as MobileServerFailureResponse } from "./serverBaseTypes-B_KHFDab.js";
|
|
2
2
|
|
|
3
3
|
//#region src/utils/serverResponseGuards.d.ts
|
|
4
4
|
/**
|
|
@@ -13,4 +13,4 @@ declare function isMobileServerSuccessResponse<T extends {
|
|
|
13
13
|
}>(data: unknown): data is T;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { isMobileServerSuccessResponse as n, isMobileServerFailureResponse as t };
|
|
16
|
-
//# sourceMappingURL=serverResponseGuards-
|
|
16
|
+
//# sourceMappingURL=serverResponseGuards-Cep5s7j5.d.ts.map
|
package/dist/{serverResponseGuards-DNJZw8yq.d.ts.map → serverResponseGuards-Cep5s7j5.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverResponseGuards-
|
|
1
|
+
{"version":3,"file":"serverResponseGuards-Cep5s7j5.d.ts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as MobileServerFailureResponse } from "./serverBaseTypes-
|
|
1
|
+
import { t as MobileServerFailureResponse } from "./serverBaseTypes-C8KjE9Fm.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/utils/serverResponseGuards.d.ts
|
|
4
4
|
/**
|
|
@@ -13,4 +13,4 @@ declare function isMobileServerSuccessResponse<T extends {
|
|
|
13
13
|
}>(data: unknown): data is T;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { isMobileServerSuccessResponse as n, isMobileServerFailureResponse as t };
|
|
16
|
-
//# sourceMappingURL=serverResponseGuards-
|
|
16
|
+
//# sourceMappingURL=serverResponseGuards-Dxt9_aGh.d.cts.map
|
package/dist/{serverResponseGuards-DEyNjgwq.d.cts.map → serverResponseGuards-Dxt9_aGh.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverResponseGuards-
|
|
1
|
+
{"version":3,"file":"serverResponseGuards-Dxt9_aGh.d.cts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("../MobileClient-
|
|
2
|
+
require("../MobileClient-D5TNTnLx.cjs");
|
|
3
3
|
const require_signing_canonicalize = require("./canonicalize.cjs");
|
|
4
4
|
const require_signing_eip712MethodByType = require("./eip712MethodByType.cjs");
|
|
5
5
|
const require_signing_nonce = require("./nonce.cjs");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-
|
|
1
|
+
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-CXfnhc-4.cjs";
|
|
2
2
|
export { buildSignedMobileRequest };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-
|
|
1
|
+
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-BScnCGPF.js";
|
|
2
2
|
export { buildSignedMobileRequest };
|
|
@@ -17,7 +17,6 @@ function canonicalizeMobileInner(inner) {
|
|
|
17
17
|
type: "set_private_mode",
|
|
18
18
|
private_mode: inner.private_mode
|
|
19
19
|
};
|
|
20
|
-
case "self_identity": return { type: "self_identity" };
|
|
21
20
|
case "register_expo_token": return {
|
|
22
21
|
type: "register_expo_token",
|
|
23
22
|
expo_token: inner.expo_token,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonicalize.cjs","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * Rebuilds an inner payload with its keys in the backend's struct declaration order (`type` first, then the\n * remaining fields in the exact order the backend serializes them). msgpack encodes object keys in insertion\n * order and the payload hash must be reproducible regardless of how the caller constructed the object, so\n * every inner payload — and each of its sub-types — is canonicalized here before hashing. This function is\n * the source of truth for that order.\n */\nexport function canonicalizeMobileInner(\n inner: MobileSignedInner,\n): MobileSignedInner {\n switch (inner.type) {\n case 'set_username':\n return { type: 'set_username', display_name: inner.display_name };\n case 'set_private_mode':\n return { type: 'set_private_mode', private_mode: inner.private_mode };\n case '
|
|
1
|
+
{"version":3,"file":"canonicalize.cjs","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * Rebuilds an inner payload with its keys in the backend's struct declaration order (`type` first, then the\n * remaining fields in the exact order the backend serializes them). msgpack encodes object keys in insertion\n * order and the payload hash must be reproducible regardless of how the caller constructed the object, so\n * every inner payload — and each of its sub-types — is canonicalized here before hashing. This function is\n * the source of truth for that order.\n */\nexport function canonicalizeMobileInner(\n inner: MobileSignedInner,\n): MobileSignedInner {\n switch (inner.type) {\n case 'set_username':\n return { type: 'set_username', display_name: inner.display_name };\n case 'set_private_mode':\n return { type: 'set_private_mode', private_mode: inner.private_mode };\n case 'register_expo_token':\n return {\n type: 'register_expo_token',\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n };\n default: {\n throw new Error(\n `canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`,\n );\n }\n }\n}\n"],"mappings":";;;;;;;;;AASA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,gBACH,OAAO;GAAE,MAAM;GAAgB,cAAc,MAAM;EAAa;EAClE,KAAK,oBACH,OAAO;GAAE,MAAM;GAAoB,cAAc,MAAM;EAAa;EACtE,KAAK,uBACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;EACrB;EACF,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as canonicalizeMobileInner } from "../canonicalize-
|
|
1
|
+
import { t as canonicalizeMobileInner } from "../canonicalize-hzhboB-C.cjs";
|
|
2
2
|
export { canonicalizeMobileInner };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as canonicalizeMobileInner } from "../canonicalize-
|
|
1
|
+
import { t as canonicalizeMobileInner } from "../canonicalize-CQ-pMYIt.js";
|
|
2
2
|
export { canonicalizeMobileInner };
|
|
@@ -16,7 +16,6 @@ function canonicalizeMobileInner(inner) {
|
|
|
16
16
|
type: "set_private_mode",
|
|
17
17
|
private_mode: inner.private_mode
|
|
18
18
|
};
|
|
19
|
-
case "self_identity": return { type: "self_identity" };
|
|
20
19
|
case "register_expo_token": return {
|
|
21
20
|
type: "register_expo_token",
|
|
22
21
|
expo_token: inner.expo_token,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonicalize.js","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * Rebuilds an inner payload with its keys in the backend's struct declaration order (`type` first, then the\n * remaining fields in the exact order the backend serializes them). msgpack encodes object keys in insertion\n * order and the payload hash must be reproducible regardless of how the caller constructed the object, so\n * every inner payload — and each of its sub-types — is canonicalized here before hashing. This function is\n * the source of truth for that order.\n */\nexport function canonicalizeMobileInner(\n inner: MobileSignedInner,\n): MobileSignedInner {\n switch (inner.type) {\n case 'set_username':\n return { type: 'set_username', display_name: inner.display_name };\n case 'set_private_mode':\n return { type: 'set_private_mode', private_mode: inner.private_mode };\n case '
|
|
1
|
+
{"version":3,"file":"canonicalize.js","names":[],"sources":["../../src/signing/canonicalize.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * Rebuilds an inner payload with its keys in the backend's struct declaration order (`type` first, then the\n * remaining fields in the exact order the backend serializes them). msgpack encodes object keys in insertion\n * order and the payload hash must be reproducible regardless of how the caller constructed the object, so\n * every inner payload — and each of its sub-types — is canonicalized here before hashing. This function is\n * the source of truth for that order.\n */\nexport function canonicalizeMobileInner(\n inner: MobileSignedInner,\n): MobileSignedInner {\n switch (inner.type) {\n case 'set_username':\n return { type: 'set_username', display_name: inner.display_name };\n case 'set_private_mode':\n return { type: 'set_private_mode', private_mode: inner.private_mode };\n case 'register_expo_token':\n return {\n type: 'register_expo_token',\n expo_token: inner.expo_token,\n platform: inner.platform,\n locale: inner.locale,\n app_version: inner.app_version,\n };\n default: {\n throw new Error(\n `canonicalizeMobileInner: unhandled inner payload type: ${JSON.stringify(inner)}`,\n );\n }\n }\n}\n"],"mappings":";;;;;;;;AASA,SAAgB,wBACd,OACmB;CACnB,QAAQ,MAAM,MAAd;EACE,KAAK,gBACH,OAAO;GAAE,MAAM;GAAgB,cAAc,MAAM;EAAa;EAClE,KAAK,oBACH,OAAO;GAAE,MAAM;GAAoB,cAAc,MAAM;EAAa;EACtE,KAAK,uBACH,OAAO;GACL,MAAM;GACN,YAAY,MAAM;GAClB,UAAU,MAAM;GAChB,QAAQ,MAAM;GACd,aAAa,MAAM;EACrB;EACF,SACE,MAAM,IAAI,MACR,0DAA0D,KAAK,UAAU,KAAK,GAChF;CAEJ;AACF"}
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
6
6
|
const MOBILE_EIP712_METHOD_BY_TYPE = {
|
|
7
7
|
set_username: "mobile:execute_set_username",
|
|
8
8
|
set_private_mode: "mobile:execute_set_private_mode",
|
|
9
|
-
self_identity: "mobile:query_self_identity",
|
|
10
9
|
register_expo_token: "mobile:execute_register_expo_token"
|
|
11
10
|
};
|
|
12
11
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eip712MethodByType.cjs","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n
|
|
1
|
+
{"version":3,"file":"eip712MethodByType.cjs","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n register_expo_token: 'mobile:execute_register_expo_token',\n};\n"],"mappings":";;;;;AAKA,MAAa,+BAGT;CACF,cAAc;CACd,kBAAkB;CAClB,qBAAqB;AACvB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-
|
|
1
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-3aiJkrHj.cjs";
|
|
2
2
|
export { MOBILE_EIP712_METHOD_BY_TYPE };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-
|
|
1
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-zNvZukU7.js";
|
|
2
2
|
export { MOBILE_EIP712_METHOD_BY_TYPE };
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
const MOBILE_EIP712_METHOD_BY_TYPE = {
|
|
6
6
|
set_username: "mobile:execute_set_username",
|
|
7
7
|
set_private_mode: "mobile:execute_set_private_mode",
|
|
8
|
-
self_identity: "mobile:query_self_identity",
|
|
9
8
|
register_expo_token: "mobile:execute_register_expo_token"
|
|
10
9
|
};
|
|
11
10
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eip712MethodByType.js","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n
|
|
1
|
+
{"version":3,"file":"eip712MethodByType.js","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n register_expo_token: 'mobile:execute_register_expo_token',\n};\n"],"mappings":";;;;AAKA,MAAa,+BAGT;CACF,cAAc;CACd,kBAAkB;CAClB,qBAAqB;AACvB"}
|
package/dist/signing/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-
|
|
2
|
-
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-
|
|
3
|
-
import { t as canonicalizeMobileInner } from "../canonicalize-
|
|
4
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-
|
|
1
|
+
import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-47IPsDyA.cjs";
|
|
2
|
+
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-CXfnhc-4.cjs";
|
|
3
|
+
import { t as canonicalizeMobileInner } from "../canonicalize-hzhboB-C.cjs";
|
|
4
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-3aiJkrHj.cjs";
|
|
5
5
|
import { t as getMobileNonce } from "../nonce-zGyisRlj.cjs";
|
|
6
|
-
import { t as getMobilePayloadHash } from "../payloadHash-
|
|
6
|
+
import { t as getMobilePayloadHash } from "../payloadHash-DVkEt-Rg.cjs";
|
|
7
7
|
export { BuildSignedMobileRequestParams, MOBILE_EIP712_METHOD_BY_TYPE, MobileSignedInner, MobileSignedInnerParams, MobileSignedRequest, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash };
|
package/dist/signing/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-
|
|
2
|
-
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-
|
|
3
|
-
import { t as canonicalizeMobileInner } from "../canonicalize-
|
|
4
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-
|
|
1
|
+
import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-D5kFJzEX.js";
|
|
2
|
+
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-BScnCGPF.js";
|
|
3
|
+
import { t as canonicalizeMobileInner } from "../canonicalize-CQ-pMYIt.js";
|
|
4
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-zNvZukU7.js";
|
|
5
5
|
import { t as getMobileNonce } from "../nonce-DCOrXXkQ.js";
|
|
6
|
-
import { t as getMobilePayloadHash } from "../payloadHash-
|
|
6
|
+
import { t as getMobilePayloadHash } from "../payloadHash-BxL26uwq.js";
|
|
7
7
|
export { BuildSignedMobileRequestParams, MOBILE_EIP712_METHOD_BY_TYPE, MobileSignedInner, MobileSignedInnerParams, MobileSignedRequest, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("../MobileClient-
|
|
2
|
+
require("../MobileClient-D5TNTnLx.cjs");
|
|
3
3
|
let _msgpack_msgpack = require("@msgpack/msgpack");
|
|
4
4
|
let viem = require("viem");
|
|
5
5
|
//#region src/signing/payloadHash.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as getMobilePayloadHash } from "../payloadHash-
|
|
1
|
+
import { t as getMobilePayloadHash } from "../payloadHash-DVkEt-Rg.cjs";
|
|
2
2
|
export { getMobilePayloadHash };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as getMobilePayloadHash } from "../payloadHash-
|
|
1
|
+
import { t as getMobilePayloadHash } from "../payloadHash-BxL26uwq.js";
|
|
2
2
|
export { getMobilePayloadHash };
|
package/dist/signing/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-
|
|
1
|
+
import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-47IPsDyA.cjs";
|
|
2
2
|
export { BuildSignedMobileRequestParams, MobileSignedInner, MobileSignedInnerParams, MobileSignedRequest };
|
package/dist/signing/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-
|
|
1
|
+
import { i as MobileSignedRequest, n as MobileSignedInner, r as MobileSignedInnerParams, t as BuildSignedMobileRequestParams } from "../types-D5kFJzEX.js";
|
|
2
2
|
export { BuildSignedMobileRequestParams, MobileSignedInner, MobileSignedInnerParams, MobileSignedRequest };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MobileServerFailureError } from "../MobileServerFailureError-
|
|
1
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-CPFjwUBx.cjs";
|
|
2
2
|
export { MobileServerFailureError };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MobileServerFailureError } from "../MobileServerFailureError-
|
|
1
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-Terv2Wzy.js";
|
|
2
2
|
export { MobileServerFailureError };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams,
|
|
1
|
+
import { _ as MobileSignedRequestParams, a as GetMobileUsernameAvailabilityParams, b as MobileUsernameAvailability, c as MobileFeedTrade, d as MobileNotificationPreferences, f as MobilePublicProfile, g as MobileSetUsernameParams, h as MobileSetPrivateModeParams, i as GetMobileRegisteredWalletParams, l as MobileNotificationCategoryPreference, m as MobileRegisteredWallet, n as GetMobileNotificationPreferencesParams, o as MobileFeedMargin, p as MobileRegisterExpoTokenParams, r as GetMobilePublicProfileParams, s as MobileFeedPage, t as GetMobileFeedParams, u as MobileNotificationPreferenceScope, v as MobileUnregisterExpoTokenParams, x as MobileWithExpoTokenParams, y as MobileUpdateNotificationPreferencesParams } from "../clientTypes-BwakovWk.cjs";
|
|
2
|
+
export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams,
|
|
1
|
+
import { _ as MobileSignedRequestParams, a as GetMobileUsernameAvailabilityParams, b as MobileUsernameAvailability, c as MobileFeedTrade, d as MobileNotificationPreferences, f as MobilePublicProfile, g as MobileSetUsernameParams, h as MobileSetPrivateModeParams, i as GetMobileRegisteredWalletParams, l as MobileNotificationCategoryPreference, m as MobileRegisteredWallet, n as GetMobileNotificationPreferencesParams, o as MobileFeedMargin, p as MobileRegisterExpoTokenParams, r as GetMobilePublicProfileParams, s as MobileFeedPage, t as GetMobileFeedParams, u as MobileNotificationPreferenceScope, v as MobileUnregisterExpoTokenParams, x as MobileWithExpoTokenParams, y as MobileUpdateNotificationPreferencesParams } from "../clientTypes-D-o1_2Yc.js";
|
|
2
|
+
export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as MobileFeedTradePosition, c as MobileNotificationCategory, d as MobileServerFeedTrade, f as
|
|
2
|
-
import {
|
|
3
|
-
import { a as MobileServerPublicQueryRequestType,
|
|
4
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-
|
|
5
|
-
import { n as MobileServerPublicExecuteRequest, t as MobileServerExecuteResult } from "../serverExecuteTypes-
|
|
6
|
-
import { a as MobileServerPublicQueryResponseByType, c as
|
|
1
|
+
import { a as MobileFeedTradePosition, c as MobileNotificationCategory, d as MobileServerFeedTrade, f as MobileServerNotificationCategoryPreference, h as MobileServerProfile, i as MobileFeedMarginMode, l as MobileNotificationPlatform, m as MobileServerNotificationPreferences, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, o as MobileFeedTradePositionDirection, p as MobileServerNotificationPreferenceScope, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, u as MobileServerFeedMargin } from "../serverModelTypes-CwgibK-l.cjs";
|
|
2
|
+
import { _ as MobileSignedRequestParams, a as GetMobileUsernameAvailabilityParams, b as MobileUsernameAvailability, c as MobileFeedTrade, d as MobileNotificationPreferences, f as MobilePublicProfile, g as MobileSetUsernameParams, h as MobileSetPrivateModeParams, i as GetMobileRegisteredWalletParams, l as MobileNotificationCategoryPreference, m as MobileRegisteredWallet, n as GetMobileNotificationPreferencesParams, o as MobileFeedMargin, p as MobileRegisterExpoTokenParams, r as GetMobilePublicProfileParams, s as MobileFeedPage, t as GetMobileFeedParams, u as MobileNotificationPreferenceScope, v as MobileUnregisterExpoTokenParams, x as MobileWithExpoTokenParams, y as MobileUpdateNotificationPreferencesParams } from "../clientTypes-BwakovWk.cjs";
|
|
3
|
+
import { a as MobileServerPublicQueryRequestType, i as MobileServerPublicQueryRequestByType, n as MobileServerPublicExecuteRequestByType, o as MobileServerRequestType, r as MobileServerPublicExecuteRequestType, t as MobileServerExecuteRequestType } from "../serverRequestTypes-GAtVYIda.cjs";
|
|
4
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-C8KjE9Fm.cjs";
|
|
5
|
+
import { n as MobileServerPublicExecuteRequest, t as MobileServerExecuteResult } from "../serverExecuteTypes-Cb5v7y0A.cjs";
|
|
6
|
+
import { a as MobileServerPublicQueryResponseByType, c as MobileServerUsernameAvailabilityResponse, i as MobileServerPublicQueryRequest, n as MobileServerNotificationPreferencesResponse, o as MobileServerPublicQuerySuccessResponse, r as MobileServerProfileResponse, s as MobileServerRegisteredWalletResponse, t as MobileServerFeedResponse } from "../serverQueryTypes-DwE1iJ9f.cjs";
|
|
7
7
|
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-D_SyBm0k.cjs";
|
|
8
|
-
import { t as MobileServerFailureError } from "../MobileServerFailureError-
|
|
9
|
-
export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams,
|
|
8
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-CPFjwUBx.cjs";
|
|
9
|
+
export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerExecuteRequestType, MobileServerExecuteResult, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfileResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as MobileFeedTradePosition, c as MobileNotificationCategory, d as MobileServerFeedTrade, f as
|
|
2
|
-
import {
|
|
3
|
-
import { a as MobileServerPublicQueryRequestType,
|
|
4
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-
|
|
5
|
-
import { n as MobileServerPublicExecuteRequest, t as MobileServerExecuteResult } from "../serverExecuteTypes-
|
|
6
|
-
import { a as MobileServerPublicQueryResponseByType, c as
|
|
1
|
+
import { a as MobileFeedTradePosition, c as MobileNotificationCategory, d as MobileServerFeedTrade, f as MobileServerNotificationCategoryPreference, h as MobileServerProfile, i as MobileFeedMarginMode, l as MobileNotificationPlatform, m as MobileServerNotificationPreferences, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, o as MobileFeedTradePositionDirection, p as MobileServerNotificationPreferenceScope, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, u as MobileServerFeedMargin } from "../serverModelTypes-_cX99seo.js";
|
|
2
|
+
import { _ as MobileSignedRequestParams, a as GetMobileUsernameAvailabilityParams, b as MobileUsernameAvailability, c as MobileFeedTrade, d as MobileNotificationPreferences, f as MobilePublicProfile, g as MobileSetUsernameParams, h as MobileSetPrivateModeParams, i as GetMobileRegisteredWalletParams, l as MobileNotificationCategoryPreference, m as MobileRegisteredWallet, n as GetMobileNotificationPreferencesParams, o as MobileFeedMargin, p as MobileRegisterExpoTokenParams, r as GetMobilePublicProfileParams, s as MobileFeedPage, t as GetMobileFeedParams, u as MobileNotificationPreferenceScope, v as MobileUnregisterExpoTokenParams, x as MobileWithExpoTokenParams, y as MobileUpdateNotificationPreferencesParams } from "../clientTypes-D-o1_2Yc.js";
|
|
3
|
+
import { a as MobileServerPublicQueryRequestType, i as MobileServerPublicQueryRequestByType, n as MobileServerPublicExecuteRequestByType, o as MobileServerRequestType, r as MobileServerPublicExecuteRequestType, t as MobileServerExecuteRequestType } from "../serverRequestTypes-516zXnQ6.js";
|
|
4
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-B_KHFDab.js";
|
|
5
|
+
import { n as MobileServerPublicExecuteRequest, t as MobileServerExecuteResult } from "../serverExecuteTypes-GFjZj_DC.js";
|
|
6
|
+
import { a as MobileServerPublicQueryResponseByType, c as MobileServerUsernameAvailabilityResponse, i as MobileServerPublicQueryRequest, n as MobileServerNotificationPreferencesResponse, o as MobileServerPublicQuerySuccessResponse, r as MobileServerProfileResponse, s as MobileServerRegisteredWalletResponse, t as MobileServerFeedResponse } from "../serverQueryTypes-NIrPm2Sl.js";
|
|
7
7
|
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-CuQ5lyBV.js";
|
|
8
|
-
import { t as MobileServerFailureError } from "../MobileServerFailureError-
|
|
9
|
-
export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams,
|
|
8
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-Terv2Wzy.js";
|
|
9
|
+
export { GetMobileFeedParams, GetMobileNotificationPreferencesParams, GetMobilePublicProfileParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerExecuteRequestType, MobileServerExecuteResult, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfileResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("../MobileClient-
|
|
2
|
+
require("../MobileClient-D5TNTnLx.cjs");
|
|
3
3
|
//#region src/types/mobileErrorCodes.ts
|
|
4
4
|
/**
|
|
5
5
|
* Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-
|
|
1
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-C8KjE9Fm.cjs";
|
|
2
2
|
export { MobileServerFailureResponse, MobileServerSuccessResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-
|
|
1
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-B_KHFDab.js";
|
|
2
2
|
export { MobileServerFailureResponse, MobileServerSuccessResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MobileServerPublicExecuteRequest, t as MobileServerExecuteResult } from "../serverExecuteTypes-
|
|
1
|
+
import { n as MobileServerPublicExecuteRequest, t as MobileServerExecuteResult } from "../serverExecuteTypes-Cb5v7y0A.cjs";
|
|
2
2
|
export { MobileServerExecuteResult, MobileServerPublicExecuteRequest };
|