@ar.io/sdk 3.9.0-alpha.5 → 3.9.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.
- package/README.md +2 -2
- package/bundles/web.bundle.min.js +77 -59
- package/lib/cjs/common/io.js +13 -11
- package/lib/cjs/utils/arweave.js +87 -1
- package/lib/cjs/version.js +1 -1
- package/lib/esm/common/io.js +14 -12
- package/lib/esm/utils/arweave.js +83 -0
- package/lib/esm/version.js +1 -1
- package/lib/types/common/contracts/ao-process.d.ts +1 -1
- package/lib/types/utils/arweave.d.ts +18 -1
- package/lib/types/version.d.ts +1 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -1960,12 +1960,12 @@ const request = await ario.getPrimaryNameRequest({
|
|
|
1960
1960
|
The ARIO client class exposes APIs relevant to the ar.io process. It can be configured to use any AO Process ID that adheres to the [ARIO Network Spec]. By default, it will use the current [ARIO Testnet Process]. Refer to [AO Connect] for more information on how to configure an ARIO process to use specific AO infrastructure.
|
|
1961
1961
|
|
|
1962
1962
|
```typescript
|
|
1963
|
-
import { ARIO } from '@ar.io/sdk';
|
|
1963
|
+
import { ARIO , AOProcess } from '@ar.io/sdk';
|
|
1964
1964
|
import { connect } from '@permaweb/aoconnect';
|
|
1965
1965
|
|
|
1966
1966
|
// provide a custom ao infrastructure and process id
|
|
1967
1967
|
const ario = ARIO.init({
|
|
1968
|
-
process: new
|
|
1968
|
+
process: new AOProcess({
|
|
1969
1969
|
processId: 'ARIO_PROCESS_ID'
|
|
1970
1970
|
ao: connect({
|
|
1971
1971
|
MU_URL: 'https://mu-testnet.xyz',
|