@dynamic-labs/sdk-api 0.0.790 → 0.0.791

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",
3
- "version": "0.0.790",
3
+ "version": "0.0.791",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -15,8 +15,8 @@ function WaasWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
15
15
  }
16
16
  return {
17
17
  'hasDeniedDelegatedAccess': !runtime.exists(json, 'hasDeniedDelegatedAccess') ? undefined : json['hasDeniedDelegatedAccess'],
18
- 'shouldRefreshOnNextSignOn': !runtime.exists(json, 'shouldRefreshOnNextSignOn') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['shouldRefreshOnNextSignOn']),
19
- 'shouldReshareOnNextSignOn': !runtime.exists(json, 'shouldReshareOnNextSignOn') ? undefined : json['shouldReshareOnNextSignOn'],
18
+ 'shouldRefreshOnNextSignOn': !runtime.exists(json, 'shouldRefreshOnNextSignOn') ? undefined : json['shouldRefreshOnNextSignOn'],
19
+ 'reshareOnNextSignOn': !runtime.exists(json, 'reshareOnNextSignOn') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['reshareOnNextSignOn']),
20
20
  };
21
21
  }
22
22
  function WaasWalletSettingsToJSON(value) {
@@ -28,8 +28,8 @@ function WaasWalletSettingsToJSON(value) {
28
28
  }
29
29
  return {
30
30
  'hasDeniedDelegatedAccess': value.hasDeniedDelegatedAccess,
31
- 'shouldRefreshOnNextSignOn': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.shouldRefreshOnNextSignOn),
32
- 'shouldReshareOnNextSignOn': value.shouldReshareOnNextSignOn,
31
+ 'shouldRefreshOnNextSignOn': value.shouldRefreshOnNextSignOn,
32
+ 'reshareOnNextSignOn': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.reshareOnNextSignOn),
33
33
  };
34
34
  }
35
35
 
@@ -24,16 +24,16 @@ export interface WaasWalletSettings {
24
24
  hasDeniedDelegatedAccess?: boolean;
25
25
  /**
26
26
  *
27
- * @type {ThresholdSignatureScheme}
27
+ * @type {boolean}
28
28
  * @memberof WaasWalletSettings
29
29
  */
30
- shouldRefreshOnNextSignOn?: ThresholdSignatureScheme;
30
+ shouldRefreshOnNextSignOn?: boolean;
31
31
  /**
32
32
  *
33
- * @type {boolean}
33
+ * @type {ThresholdSignatureScheme}
34
34
  * @memberof WaasWalletSettings
35
35
  */
36
- shouldReshareOnNextSignOn?: boolean;
36
+ reshareOnNextSignOn?: ThresholdSignatureScheme;
37
37
  }
38
38
  export declare function WaasWalletSettingsFromJSON(json: any): WaasWalletSettings;
39
39
  export declare function WaasWalletSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletSettings;
@@ -11,8 +11,8 @@ function WaasWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
11
11
  }
12
12
  return {
13
13
  'hasDeniedDelegatedAccess': !exists(json, 'hasDeniedDelegatedAccess') ? undefined : json['hasDeniedDelegatedAccess'],
14
- 'shouldRefreshOnNextSignOn': !exists(json, 'shouldRefreshOnNextSignOn') ? undefined : ThresholdSignatureSchemeFromJSON(json['shouldRefreshOnNextSignOn']),
15
- 'shouldReshareOnNextSignOn': !exists(json, 'shouldReshareOnNextSignOn') ? undefined : json['shouldReshareOnNextSignOn'],
14
+ 'shouldRefreshOnNextSignOn': !exists(json, 'shouldRefreshOnNextSignOn') ? undefined : json['shouldRefreshOnNextSignOn'],
15
+ 'reshareOnNextSignOn': !exists(json, 'reshareOnNextSignOn') ? undefined : ThresholdSignatureSchemeFromJSON(json['reshareOnNextSignOn']),
16
16
  };
17
17
  }
18
18
  function WaasWalletSettingsToJSON(value) {
@@ -24,8 +24,8 @@ function WaasWalletSettingsToJSON(value) {
24
24
  }
25
25
  return {
26
26
  'hasDeniedDelegatedAccess': value.hasDeniedDelegatedAccess,
27
- 'shouldRefreshOnNextSignOn': ThresholdSignatureSchemeToJSON(value.shouldRefreshOnNextSignOn),
28
- 'shouldReshareOnNextSignOn': value.shouldReshareOnNextSignOn,
27
+ 'shouldRefreshOnNextSignOn': value.shouldRefreshOnNextSignOn,
28
+ 'reshareOnNextSignOn': ThresholdSignatureSchemeToJSON(value.reshareOnNextSignOn),
29
29
  };
30
30
  }
31
31