@ar.io/sdk 2.5.3 → 2.5.4-alpha.2

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.
@@ -387,7 +387,7 @@ class AoANTWriteable extends AoANTReadable {
387
387
  tags: [
388
388
  ...(options?.tags ?? []),
389
389
  { name: 'Action', value: 'Set-Keywords' },
390
- { name: 'Description', value: JSON.stringify(keywords) },
390
+ { name: 'Keywords', value: JSON.stringify(keywords) },
391
391
  ],
392
392
  signer: this.signer,
393
393
  });
@@ -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.3';
20
+ exports.version = '2.5.4-alpha.2';
@@ -382,7 +382,7 @@ export class AoANTWriteable extends AoANTReadable {
382
382
  tags: [
383
383
  ...(options?.tags ?? []),
384
384
  { name: 'Action', value: 'Set-Keywords' },
385
- { name: 'Description', value: JSON.stringify(keywords) },
385
+ { name: 'Keywords', value: JSON.stringify(keywords) },
386
386
  ],
387
387
  signer: this.signer,
388
388
  });
@@ -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.3';
17
+ export const version = '2.5.4-alpha.2';
@@ -101,6 +101,14 @@ export declare class IOReadable implements AoIORead {
101
101
  quantity: number;
102
102
  name: string;
103
103
  }): Promise<number>;
104
+ getTokenCost(params: {
105
+ intent: 'Upgrade-Name';
106
+ name: string;
107
+ }): Promise<number>;
108
+ getTokenCost(params: {
109
+ intent: 'Primary-Name-Request';
110
+ name: string;
111
+ }): Promise<number>;
104
112
  getRegistrationFees(): Promise<AoRegistrationFees>;
105
113
  getDemandFactor(): Promise<number>;
106
114
  getArNSAuctions(params?: PaginationParams<AoAuction>): Promise<PaginationResult<AoAuction>>;
@@ -304,10 +304,10 @@ export interface AoIORead {
304
304
  getObservations(epoch?: EpochInput): Promise<AoEpochObservationData>;
305
305
  getDistributions(epoch?: EpochInput): Promise<AoEpochDistributionData>;
306
306
  getTokenCost({ intent, type, years, name, quantity, }: {
307
- intent: 'Buy-Record' | 'Extend-Lease' | 'Increase-Undername-Limit';
307
+ intent: 'Buy-Record' | 'Extend-Lease' | 'Increase-Undername-Limit' | 'Upgrade-Name' | 'Primary-Name-Request';
308
308
  type?: 'permabuy' | 'lease';
309
309
  years?: number;
310
- name?: string;
310
+ name: string;
311
311
  quantity?: number;
312
312
  }): Promise<number>;
313
313
  getRegistrationFees(): Promise<AoRegistrationFees>;
@@ -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.3-alpha.3";
16
+ export declare const version = "2.5.4-alpha.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ar.io/sdk",
3
- "version": "2.5.3",
3
+ "version": "2.5.4-alpha.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ar-io/ar-io-sdk.git"