@0xsequence/api 0.0.0-20220601185217 → 0.0.0-20220614152529

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.
@@ -27,7 +27,7 @@ function _extends() {
27
27
  }
28
28
 
29
29
  /* eslint-disable */
30
- // sequence-api v0.4.0 451d96d5692d65926fddc63c8a6912af960a3dd1
30
+ // sequence-api v0.4.0 66d659733b35a2641cff5288ee4c48dc14adce64
31
31
  // --
32
32
  // This file has been generated by https://github.com/webrpc/webrpc using gen/typescript
33
33
  // Do not edit by hand. Update your webrpc schema and re-generate.
@@ -36,7 +36,7 @@ const WebRPCVersion = "v1"; // Schema version of your RIDL schema
36
36
 
37
37
  const WebRPCSchemaVersion = "v0.4.0"; // Schema hash generated from your RIDL schema
38
38
 
39
- const WebRPCSchemaHash = "451d96d5692d65926fddc63c8a6912af960a3dd1"; //
39
+ const WebRPCSchemaHash = "66d659733b35a2641cff5288ee4c48dc14adce64"; //
40
40
  // Types
41
41
  //
42
42
 
@@ -27,7 +27,7 @@ function _extends() {
27
27
  }
28
28
 
29
29
  /* eslint-disable */
30
- // sequence-api v0.4.0 451d96d5692d65926fddc63c8a6912af960a3dd1
30
+ // sequence-api v0.4.0 66d659733b35a2641cff5288ee4c48dc14adce64
31
31
  // --
32
32
  // This file has been generated by https://github.com/webrpc/webrpc using gen/typescript
33
33
  // Do not edit by hand. Update your webrpc schema and re-generate.
@@ -36,7 +36,7 @@ const WebRPCVersion = "v1"; // Schema version of your RIDL schema
36
36
 
37
37
  const WebRPCSchemaVersion = "v0.4.0"; // Schema hash generated from your RIDL schema
38
38
 
39
- const WebRPCSchemaHash = "451d96d5692d65926fddc63c8a6912af960a3dd1"; //
39
+ const WebRPCSchemaHash = "66d659733b35a2641cff5288ee4c48dc14adce64"; //
40
40
  // Types
41
41
  //
42
42
 
@@ -19,7 +19,7 @@ function _extends() {
19
19
  }
20
20
 
21
21
  /* eslint-disable */
22
- // sequence-api v0.4.0 451d96d5692d65926fddc63c8a6912af960a3dd1
22
+ // sequence-api v0.4.0 66d659733b35a2641cff5288ee4c48dc14adce64
23
23
  // --
24
24
  // This file has been generated by https://github.com/webrpc/webrpc using gen/typescript
25
25
  // Do not edit by hand. Update your webrpc schema and re-generate.
@@ -28,7 +28,7 @@ const WebRPCVersion = "v1"; // Schema version of your RIDL schema
28
28
 
29
29
  const WebRPCSchemaVersion = "v0.4.0"; // Schema hash generated from your RIDL schema
30
30
 
31
- const WebRPCSchemaHash = "451d96d5692d65926fddc63c8a6912af960a3dd1"; //
31
+ const WebRPCSchemaHash = "66d659733b35a2641cff5288ee4c48dc14adce64"; //
32
32
  // Types
33
33
  //
34
34
 
@@ -1,6 +1,6 @@
1
1
  export declare const WebRPCVersion = "v1";
2
2
  export declare const WebRPCSchemaVersion = "v0.4.0";
3
- export declare const WebRPCSchemaHash = "451d96d5692d65926fddc63c8a6912af960a3dd1";
3
+ export declare const WebRPCSchemaHash = "66d659733b35a2641cff5288ee4c48dc14adce64";
4
4
  export declare enum SmartRampOrderStatus {
5
5
  UNKNOWN = "UNKNOWN",
6
6
  RUNNING_CHECKS = "RUNNING_CHECKS",
@@ -177,35 +177,11 @@ export interface SmartRampPurchaseReceipt {
177
177
  createdAt: string;
178
178
  status: SmartRampOrderStatus;
179
179
  authCodesRequested: boolean;
180
- authCodesSubmitted: boolean;
181
180
  sourceCurrency: string;
182
181
  purchaseAmount: number;
183
182
  purchaseFees: number;
184
183
  purchaseTotal: number;
185
184
  }
186
- export interface SmartRampOrder {
187
- id: number;
188
- userAddress: string;
189
- contractAddress: string;
190
- payCardId: number;
191
- orderId: string;
192
- quoteId: string;
193
- status: SmartRampOrderStatus;
194
- authCodesRequested: boolean;
195
- authCodesSubmitted: boolean;
196
- countryCode: string;
197
- email: string;
198
- sourceCurrency: string;
199
- destCurrency: string;
200
- purchaseAmount: number;
201
- purchaseFees: number;
202
- purchaseTotal: number;
203
- smartScriptParams: {
204
- [key: string]: any;
205
- };
206
- updatedAt?: string;
207
- createdAt?: string;
208
- }
209
185
  export interface PayCardAuth {
210
186
  orderId: string;
211
187
  smsNeeded: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/api",
3
- "version": "0.0.0-20220601185217",
3
+ "version": "0.0.0-20220614152529",
4
4
  "description": "api sub-package for Sequence",
5
5
  "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/api",
6
6
  "source": "src/index.ts",
package/src/api.gen.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // sequence-api v0.4.0 451d96d5692d65926fddc63c8a6912af960a3dd1
2
+ // sequence-api v0.4.0 66d659733b35a2641cff5288ee4c48dc14adce64
3
3
  // --
4
4
  // This file has been generated by https://github.com/webrpc/webrpc using gen/typescript
5
5
  // Do not edit by hand. Update your webrpc schema and re-generate.
@@ -11,7 +11,7 @@ export const WebRPCVersion = "v1"
11
11
  export const WebRPCSchemaVersion = "v0.4.0"
12
12
 
13
13
  // Schema hash generated from your RIDL schema
14
- export const WebRPCSchemaHash = "451d96d5692d65926fddc63c8a6912af960a3dd1"
14
+ export const WebRPCSchemaHash = "66d659733b35a2641cff5288ee4c48dc14adce64"
15
15
 
16
16
 
17
17
  //
@@ -221,35 +221,12 @@ export interface SmartRampPurchaseReceipt {
221
221
  createdAt: string
222
222
  status: SmartRampOrderStatus
223
223
  authCodesRequested: boolean
224
- authCodesSubmitted: boolean
225
224
  sourceCurrency: string
226
225
  purchaseAmount: number
227
226
  purchaseFees: number
228
227
  purchaseTotal: number
229
228
  }
230
229
 
231
- export interface SmartRampOrder {
232
- id: number
233
- userAddress: string
234
- contractAddress: string
235
- payCardId: number
236
- orderId: string
237
- quoteId: string
238
- status: SmartRampOrderStatus
239
- authCodesRequested: boolean
240
- authCodesSubmitted: boolean
241
- countryCode: string
242
- email: string
243
- sourceCurrency: string
244
- destCurrency: string
245
- purchaseAmount: number
246
- purchaseFees: number
247
- purchaseTotal: number
248
- smartScriptParams: {[key: string]: any}
249
- updatedAt?: string
250
- createdAt?: string
251
- }
252
-
253
230
  export interface PayCardAuth {
254
231
  orderId: string
255
232
  smsNeeded: boolean