zklighter-perps 1.0.362 → 1.0.363

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/models/ApiKey.ts CHANGED
@@ -67,7 +67,7 @@ export interface ApiKey {
67
67
  * @type {ApiKeyRestrictions}
68
68
  * @memberof ApiKey
69
69
  */
70
- restrictions: ApiKeyRestrictions;
70
+ restrictions?: ApiKeyRestrictions;
71
71
  }
72
72
 
73
73
  /**
@@ -80,7 +80,6 @@ export function instanceOfApiKey(value: object): value is ApiKey {
80
80
  if (!('key_type' in value) || value['key_type'] === undefined) return false;
81
81
  if (!('public_key' in value) || value['public_key'] === undefined) return false;
82
82
  if (!('transaction_time' in value) || value['transaction_time'] === undefined) return false;
83
- if (!('restrictions' in value) || value['restrictions'] === undefined) return false;
84
83
  return true;
85
84
  }
86
85
 
@@ -100,7 +99,7 @@ export function ApiKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ap
100
99
  'key_type': json['key_type'],
101
100
  'public_key': json['public_key'],
102
101
  'transaction_time': json['transaction_time'],
103
- 'restrictions': ApiKeyRestrictionsFromJSON(json['restrictions']),
102
+ 'restrictions': json['restrictions'] == null ? undefined : ApiKeyRestrictionsFromJSON(json['restrictions']),
104
103
  };
105
104
  }
106
105
 
package/openapi.json CHANGED
@@ -9762,8 +9762,7 @@
9762
9762
  "nonce",
9763
9763
  "key_type",
9764
9764
  "public_key",
9765
- "transaction_time",
9766
- "restrictions"
9765
+ "transaction_time"
9767
9766
  ]
9768
9767
  },
9769
9768
  "ApiKeyRestrictions": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.362",
3
+ "version": "1.0.363",
4
4
  "description": "Lighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {