@ar.io/sdk 3.6.0-alpha.2 → 3.6.0-alpha.3

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.
package/README.md CHANGED
@@ -1355,12 +1355,12 @@ const { id: txId } = await ario.extendLease(
1355
1355
 
1356
1356
  #### `getTokenCost({ intent, ...args })`
1357
1357
 
1358
- Calculates the price in mARIO to perform the interaction in question, eg a 'Buy-record' interaction, where args are the specific params for that interaction.
1358
+ Calculates the price in mARIO to perform the interaction in question, eg a 'Buy-Name' interaction, where args are the specific params for that interaction.
1359
1359
 
1360
1360
  ```typescript
1361
1361
  const price = await ario
1362
1362
  .getTokenCost({
1363
- intent: 'Buy-Record',
1363
+ intent: 'Buy-Name',
1364
1364
  name: 'ar-io',
1365
1365
  type: 'permabuy',
1366
1366
  })
@@ -1378,11 +1378,11 @@ const price = await ario
1378
1378
 
1379
1379
  #### `getCostDetails({ intent, fromAddress, fundFrom, ...args})`
1380
1380
 
1381
- Calculates the expanded cost details for the interaction in question, e.g a 'Buy-Record' interaction, where args are the specific params for that interaction. The fromAddress is the address that would be charged for the interaction, and fundFrom is where the funds would be taken from, either `balance`, `stakes`, or `any`.
1381
+ Calculates the expanded cost details for the interaction in question, e.g a 'Buy-Name' interaction, where args are the specific params for that interaction. The fromAddress is the address that would be charged for the interaction, and fundFrom is where the funds would be taken from, either `balance`, `stakes`, or `any`.
1382
1382
 
1383
1383
  ```typescript
1384
1384
  const costDetails = await ario.getCostDetails({
1385
- intent: 'Buy-Record',
1385
+ intent: 'Buy-Name',
1386
1386
  fromAddress: 't4Xr0_J4Iurt7caNST02cMotaz2FIbWQ4Kbj616RHl3',
1387
1387
  fundFrom: 'stakes',
1388
1388
  name: 'ar-io',