@dynamic-labs/sdk-api 0.0.881 → 0.0.882

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.881",
3
+ "version": "0.0.882",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -31,6 +31,7 @@ function WaasPolicyRuleFromJSONTyped(json, ignoreDiscriminator) {
31
31
  'argumentConstraints': !runtime.exists(json, 'argumentConstraints') ? undefined : (json['argumentConstraints'].map(WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintFromJSON)),
32
32
  'valueLimit': !runtime.exists(json, 'valueLimit') ? undefined : WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitFromJSON(json['valueLimit']),
33
33
  'operationRestrictions': !runtime.exists(json, 'operationRestrictions') ? undefined : WaasPolicyRuleOperationRestrictions.WaasPolicyRuleOperationRestrictionsFromJSON(json['operationRestrictions']),
34
+ 'disableBlockaidSecurityChecks': !runtime.exists(json, 'disableBlockaidSecurityChecks') ? undefined : json['disableBlockaidSecurityChecks'],
34
35
  };
35
36
  }
36
37
  function WaasPolicyRuleToJSON(value) {
@@ -54,6 +55,7 @@ function WaasPolicyRuleToJSON(value) {
54
55
  'argumentConstraints': value.argumentConstraints === undefined ? undefined : (value.argumentConstraints.map(WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintToJSON)),
55
56
  'valueLimit': WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitToJSON(value.valueLimit),
56
57
  'operationRestrictions': WaasPolicyRuleOperationRestrictions.WaasPolicyRuleOperationRestrictionsToJSON(value.operationRestrictions),
58
+ 'disableBlockaidSecurityChecks': value.disableBlockaidSecurityChecks,
57
59
  };
58
60
  }
59
61
 
@@ -98,6 +98,12 @@ export interface WaasPolicyRule {
98
98
  * @memberof WaasPolicyRule
99
99
  */
100
100
  operationRestrictions?: WaasPolicyRuleOperationRestrictions;
101
+ /**
102
+ * When true, disables Blockaid security enforcement for this rule. Blockaid simulation will still run for policy evaluation, but security verdicts (e.g., malicious transactions) will not block execution. Transaction approval will be determined solely by customer-defined policy rules. Use with caution as this bypasses automated security protections.
103
+ * @type {boolean}
104
+ * @memberof WaasPolicyRule
105
+ */
106
+ disableBlockaidSecurityChecks?: boolean;
101
107
  }
102
108
  export declare function WaasPolicyRuleFromJSON(json: any): WaasPolicyRule;
103
109
  export declare function WaasPolicyRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRule;
@@ -27,6 +27,7 @@ function WaasPolicyRuleFromJSONTyped(json, ignoreDiscriminator) {
27
27
  'argumentConstraints': !exists(json, 'argumentConstraints') ? undefined : (json['argumentConstraints'].map(WaasPolicyArgumentConstraintFromJSON)),
28
28
  'valueLimit': !exists(json, 'valueLimit') ? undefined : WaasPolicyRuleValueLimitFromJSON(json['valueLimit']),
29
29
  'operationRestrictions': !exists(json, 'operationRestrictions') ? undefined : WaasPolicyRuleOperationRestrictionsFromJSON(json['operationRestrictions']),
30
+ 'disableBlockaidSecurityChecks': !exists(json, 'disableBlockaidSecurityChecks') ? undefined : json['disableBlockaidSecurityChecks'],
30
31
  };
31
32
  }
32
33
  function WaasPolicyRuleToJSON(value) {
@@ -50,6 +51,7 @@ function WaasPolicyRuleToJSON(value) {
50
51
  'argumentConstraints': value.argumentConstraints === undefined ? undefined : (value.argumentConstraints.map(WaasPolicyArgumentConstraintToJSON)),
51
52
  'valueLimit': WaasPolicyRuleValueLimitToJSON(value.valueLimit),
52
53
  'operationRestrictions': WaasPolicyRuleOperationRestrictionsToJSON(value.operationRestrictions),
54
+ 'disableBlockaidSecurityChecks': value.disableBlockaidSecurityChecks,
53
55
  };
54
56
  }
55
57