npm package diff
Package: @forge/storage
Versions: 1.5.15-experimental-f6dcf26 - 1.5.15-experimental-204139e
File: package/out/kvs-transaction-api.d.ts
Index: package/out/kvs-transaction-api.d.ts
===================================================================
--- package/out/kvs-transaction-api.d.ts
+++ package/out/kvs-transaction-api.d.ts
@@ -0,0 +1,12 @@
+import { GlobalStorage } from '.';
+import { KVSTransactionBuilderInterface } from './storage-adapter';
+import { TransactionOptions } from './transaction-api';
+export declare class KVSTransactionBuilder implements KVSTransactionBuilderInterface {
+ private globalStorage;
+ private transactionOptions;
+ constructor(globalStorage: Pick<GlobalStorage, 'transaction'>, transactionOptions?: TransactionOptions);
+ set(key: string, value: string | number | boolean | Record<string, any> | any[]): KVSTransactionBuilder;
+ delete(key: string): KVSTransactionBuilder;
+ execute(): Promise<void>;
+}
+//# sourceMappingURL=kvs-transaction-api.d.ts.map
\ No newline at end of file