@ar.io/sdk 2.5.0-alpha.10 → 2.5.0-alpha.11

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.
@@ -378,6 +378,15 @@ class IOReadable {
378
378
  tags: (0, arweave_js_1.pruneTags)(allTags),
379
379
  });
380
380
  }
381
+ async getAllowedDelegates(params) {
382
+ return this.process.read({
383
+ tags: [
384
+ { name: 'Action', value: 'Paginated-Allowed-Delegates' },
385
+ { name: 'Address', value: params.address },
386
+ ...(0, arweave_js_1.paginationParamsToTags)(params),
387
+ ],
388
+ });
389
+ }
381
390
  async getGatewayVaults(params) {
382
391
  return this.process.read({
383
392
  tags: [
@@ -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.5.0-alpha.10';
20
+ exports.version = '2.5.0-alpha.11';
@@ -374,6 +374,15 @@ export class IOReadable {
374
374
  tags: pruneTags(allTags),
375
375
  });
376
376
  }
377
+ async getAllowedDelegates(params) {
378
+ return this.process.read({
379
+ tags: [
380
+ { name: 'Action', value: 'Paginated-Allowed-Delegates' },
381
+ { name: 'Address', value: params.address },
382
+ ...paginationParamsToTags(params),
383
+ ],
384
+ });
385
+ }
377
386
  async getGatewayVaults(params) {
378
387
  return this.process.read({
379
388
  tags: [
@@ -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.5.0-alpha.10';
17
+ export const version = '2.5.0-alpha.11';
@@ -128,6 +128,9 @@ export declare class IOReadable implements AoIORead {
128
128
  getDelegations(params: PaginationParams<AoDelegation> & {
129
129
  address: WalletAddress;
130
130
  }): Promise<PaginationResult<AoDelegation>>;
131
+ getAllowedDelegates(params: PaginationParams & {
132
+ address: WalletAddress;
133
+ }): Promise<PaginationResult<WalletAddress>>;
131
134
  getGatewayVaults(params: PaginationParams<AoGatewayVault> & {
132
135
  address: WalletAddress;
133
136
  }): Promise<PaginationResult<AoGatewayVault>>;
@@ -268,6 +268,9 @@ export interface AoIORead {
268
268
  getDelegations(params: PaginationParams<AoDelegation> & {
269
269
  address: WalletAddress;
270
270
  }): Promise<PaginationResult<AoDelegation>>;
271
+ getAllowedDelegates(params: PaginationParams & {
272
+ address: WalletAddress;
273
+ }): Promise<PaginationResult<WalletAddress>>;
271
274
  getGatewayVaults(params: PaginationParams<AoGatewayVault> & {
272
275
  address: WalletAddress;
273
276
  }): Promise<PaginationResult<AoGatewayVault>>;
@@ -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.5.0-alpha.9";
16
+ export declare const version = "2.5.0-alpha.10";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ar.io/sdk",
3
- "version": "2.5.0-alpha.10",
3
+ "version": "2.5.0-alpha.11",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ar-io/ar-io-sdk.git"