@ar.io/sdk 2.3.0-alpha.7 → 2.3.0-alpha.8

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.
@@ -591,5 +591,17 @@ class IOWriteable extends IOReadable {
591
591
  ],
592
592
  });
593
593
  }
594
+ async cancelDelegateWithdrawal(params, options) {
595
+ const { tags = [] } = options || {};
596
+ return this.process.send({
597
+ signer: this.signer,
598
+ tags: [
599
+ ...tags,
600
+ { name: 'Action', value: 'Cancel-Delegate-Withdrawal' },
601
+ { name: 'Address', value: params.address },
602
+ { name: 'Vault-Id', value: params.vaultId },
603
+ ],
604
+ });
605
+ }
594
606
  }
595
607
  exports.IOWriteable = IOWriteable;
@@ -17,4 +17,4 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.version = void 0;
19
19
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
20
- exports.version = '2.3.0-alpha.7';
20
+ exports.version = '2.3.0-alpha.8';
@@ -586,4 +586,16 @@ export class IOWriteable extends IOReadable {
586
586
  ],
587
587
  });
588
588
  }
589
+ async cancelDelegateWithdrawal(params, options) {
590
+ const { tags = [] } = options || {};
591
+ return this.process.send({
592
+ signer: this.signer,
593
+ tags: [
594
+ ...tags,
595
+ { name: 'Action', value: 'Cancel-Delegate-Withdrawal' },
596
+ { name: 'Address', value: params.address },
597
+ { name: 'Vault-Id', value: params.vaultId },
598
+ ],
599
+ });
600
+ }
589
601
  }
@@ -14,4 +14,4 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
17
- export const version = '2.3.0-alpha.7';
17
+ export const version = '2.3.0-alpha.8';
@@ -138,4 +138,8 @@ export declare class IOWriteable extends IOReadable implements AoIOWrite {
138
138
  name: string;
139
139
  increaseCount: number;
140
140
  }, options?: WriteOptions): Promise<AoMessageResult>;
141
+ cancelDelegateWithdrawal(params: {
142
+ address: string;
143
+ vaultId: string;
144
+ }, options?: WriteOptions | undefined): Promise<AoMessageResult>;
141
145
  }
package/lib/types/io.d.ts CHANGED
@@ -315,6 +315,10 @@ export interface AoIOWrite extends AoIORead {
315
315
  name: string;
316
316
  increaseCount: number;
317
317
  }, options?: WriteOptions): Promise<AoMessageResult>;
318
+ cancelDelegateWithdrawal(params: {
319
+ address: string;
320
+ vaultId: string;
321
+ }, options?: WriteOptions): Promise<AoMessageResult>;
318
322
  }
319
323
  export interface AoANTRead {
320
324
  getState(): Promise<AoANTState>;
@@ -13,4 +13,4 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export declare const version = "2.3.0-alpha.6";
16
+ export declare const version = "2.3.0-alpha.7";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ar.io/sdk",
3
- "version": "2.3.0-alpha.7",
3
+ "version": "2.3.0-alpha.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ar-io/ar-io-sdk.git"