@dynamic-labs/sdk-api-core 0.0.815 → 0.0.816

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api-core",
3
- "version": "0.0.815",
3
+ "version": "0.0.816",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -2,6 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
5
6
  var ProviderEnum = require('./ProviderEnum.cjs');
6
7
 
7
8
  /* tslint:disable */
@@ -17,6 +18,7 @@ function RampConfigurationFromJSONTyped(json, ignoreDiscriminator) {
17
18
  'name': json['name'],
18
19
  'iconUrl': json['iconUrl'],
19
20
  'url': json['url'],
21
+ 'qrCode': !runtime.exists(json, 'qrCode') ? undefined : json['qrCode'],
20
22
  };
21
23
  }
22
24
  function RampConfigurationToJSON(value) {
@@ -31,6 +33,7 @@ function RampConfigurationToJSON(value) {
31
33
  'name': value.name,
32
34
  'iconUrl': value.iconUrl,
33
35
  'url': value.url,
36
+ 'qrCode': value.qrCode,
34
37
  };
35
38
  }
36
39
 
@@ -40,6 +40,12 @@ export interface RampConfiguration {
40
40
  * @memberof RampConfiguration
41
41
  */
42
42
  url: string;
43
+ /**
44
+ * Optional QR code provided by the onramp (e.g., Crypto.com)
45
+ * @type {string}
46
+ * @memberof RampConfiguration
47
+ */
48
+ qrCode?: string;
43
49
  }
44
50
  export declare function RampConfigurationFromJSON(json: any): RampConfiguration;
45
51
  export declare function RampConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): RampConfiguration;
@@ -1,3 +1,4 @@
1
+ import { exists } from '../runtime.js';
1
2
  import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
2
3
 
3
4
  /* tslint:disable */
@@ -13,6 +14,7 @@ function RampConfigurationFromJSONTyped(json, ignoreDiscriminator) {
13
14
  'name': json['name'],
14
15
  'iconUrl': json['iconUrl'],
15
16
  'url': json['url'],
17
+ 'qrCode': !exists(json, 'qrCode') ? undefined : json['qrCode'],
16
18
  };
17
19
  }
18
20
  function RampConfigurationToJSON(value) {
@@ -27,6 +29,7 @@ function RampConfigurationToJSON(value) {
27
29
  'name': value.name,
28
30
  'iconUrl': value.iconUrl,
29
31
  'url': value.url,
32
+ 'qrCode': value.qrCode,
30
33
  };
31
34
  }
32
35