@ar.io/sdk 2.7.0-alpha.5 → 2.7.0-alpha.7

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.
@@ -200,26 +200,12 @@ export type AoBalanceWithAddress = {
200
200
  address: WalletAddress;
201
201
  balance: number;
202
202
  };
203
- export type AoAuctionSettings = {
204
- durationMs: number;
205
- decayRate: number;
206
- scalingExponent: number;
207
- startPriceMultiplier: number;
208
- };
209
- export type AoAuction = {
203
+ export type AoReturnedName = {
210
204
  name: string;
211
205
  startTimestamp: Timestamp;
212
206
  endTimestamp: Timestamp;
213
207
  initiator: string;
214
- baseFee: number;
215
- demandFactor: number;
216
- settings: AoAuctionSettings;
217
- };
218
- export type AoAuctionPriceData = {
219
- type: 'lease' | 'permabuy';
220
- years?: number;
221
- prices: Record<string, number>;
222
- currentPrice: number;
208
+ premiumMultiplier: number;
223
209
  };
224
210
  export type AoDelegationBase = {
225
211
  type: 'stake' | 'vault';
@@ -260,13 +246,6 @@ export type AoDelegateStakeParams = {
260
246
  stakeQty: number | mIOToken;
261
247
  };
262
248
  export type AoGetArNSRecordsParams = PaginationParams<AoArNSNameDataWithName>;
263
- export type AoArNSAuctionPricesParams = {
264
- name: string;
265
- type: 'lease' | 'permabuy';
266
- years?: number;
267
- timestamp?: number;
268
- intervalMs?: number;
269
- };
270
249
  export type AoRedelegateStakeParams = {
271
250
  target: string;
272
251
  source: string;
@@ -299,12 +278,6 @@ export type AoExtendLeaseParams = AoArNSNameParams & {
299
278
  export type AoIncreaseUndernameLimitParams = AoArNSNameParams & {
300
279
  increaseCount: number;
301
280
  };
302
- export type AoSubmitAuctionBidParams = AoArNSNameParams & {
303
- processId: string;
304
- quantity?: number;
305
- type?: 'lease' | 'permabuy';
306
- years?: number;
307
- };
308
281
  export type AoGatewayRegistrySettings = {
309
282
  delegates: {
310
283
  minStake: number;
@@ -369,11 +342,10 @@ export interface AoIORead {
369
342
  getArNSReservedName({ name, }: {
370
343
  name: string;
371
344
  }): Promise<AoArNSReservedNameData | undefined>;
372
- getArNSAuctions(params?: PaginationParams<AoAuction>): Promise<PaginationResult<AoAuction>>;
373
- getArNSAuction({ name }: {
345
+ getArNSReturnedNames(params?: PaginationParams<AoReturnedName>): Promise<PaginationResult<AoReturnedName>>;
346
+ getArNSReturnedName({ name, }: {
374
347
  name: string;
375
- }): Promise<AoAuction | undefined>;
376
- getArNSAuctionPrices({ name, type, years, timestamp, intervalMs, }: AoArNSAuctionPricesParams): Promise<AoAuctionPriceData>;
348
+ }): Promise<AoReturnedName | undefined>;
377
349
  getEpoch(epoch?: EpochInput): Promise<AoEpochData | undefined>;
378
350
  getCurrentEpoch(): Promise<AoEpochData>;
379
351
  getPrescribedObservers(epoch?: EpochInput): Promise<AoWeightedObserver[]>;
@@ -441,13 +413,6 @@ export interface AoIOWrite extends AoIORead {
441
413
  gatewayAddress?: WalletAddress;
442
414
  vaultId: string;
443
415
  }, options?: WriteOptions): Promise<AoMessageResult>;
444
- submitAuctionBid(params: {
445
- name: string;
446
- processId: string;
447
- quantity?: number;
448
- type?: 'lease' | 'permabuy';
449
- years?: number;
450
- }, options?: WriteOptions): Promise<AoMessageResult>;
451
416
  requestPrimaryName(params: {
452
417
  name: string;
453
418
  }): Promise<AoMessageResult>;
@@ -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.7.0-alpha.4";
16
+ export declare const version = "2.7.0-alpha.6";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ar.io/sdk",
3
- "version": "2.7.0-alpha.5",
3
+ "version": "2.7.0-alpha.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ar-io/ar-io-sdk.git"