@flashbacktech/flashbackclient 0.1.46 → 0.1.47

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.
@@ -21,12 +21,12 @@ class BucketOps {
21
21
  args: [
22
22
  { value: params.name, type: 'string' },
23
23
  { value: params.region, type: 'string' },
24
- { value: params.country, type: 'string' },
25
- { value: params.versioning_enabled, type: 'bool' },
26
24
  { value: params.fb_bucket_id, type: 'string' },
27
25
  { value: params.api_compatibility, type: 'string' },
28
26
  { value: params.price_per_gb_storage, type: 'u128' },
29
- { value: params.price_per_gb_egress, type: 'u128' }
27
+ { value: params.price_per_gb_egress, type: 'u128' },
28
+ { value: params.sla_avg_latency_ms, type: 'u32' },
29
+ { value: params.sla_avg_uptime_pct, type: 'u32' }
30
30
  ]
31
31
  });
32
32
  if (!response.isSuccess) {
@@ -110,12 +110,12 @@ export declare enum ErrorCode {
110
110
  export interface BucketCreateParams {
111
111
  name: string;
112
112
  region: string;
113
- country: string;
114
- versioning_enabled: boolean;
115
113
  fb_bucket_id: string;
116
114
  api_compatibility: string;
117
115
  price_per_gb_storage: bigint;
118
116
  price_per_gb_egress: bigint;
117
+ sla_avg_latency_ms: number;
118
+ sla_avg_uptime_pct: number;
119
119
  }
120
120
  export interface DealCreateParams {
121
121
  duration_secs: bigint;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashbacktech/flashbackclient",
3
- "version": "0.1.46",
3
+ "version": "0.1.47",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"