@ar.io/sdk 2.5.1 → 2.5.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.
- package/README.md +27 -1
- package/bundles/web.bundle.min.js +2 -2
- package/lib/cjs/common/io.js +1 -2
- package/lib/cjs/version.js +1 -1
- package/lib/esm/common/io.js +1 -2
- package/lib/esm/version.js +1 -1
- package/lib/types/common/io.d.ts +0 -2
- package/lib/types/types/common.d.ts +1 -0
- package/lib/types/types/io.d.ts +1 -5
- package/lib/types/version.d.ts +1 -1
- package/package.json +1 -1
package/lib/cjs/common/io.js
CHANGED
|
@@ -399,7 +399,6 @@ class IOReadable {
|
|
|
399
399
|
async getPrimaryNameRequest(params) {
|
|
400
400
|
const allTags = [
|
|
401
401
|
{ name: 'Action', value: 'Primary-Name-Request' },
|
|
402
|
-
{ name: 'Name', value: params.name },
|
|
403
402
|
{
|
|
404
403
|
name: 'Initiator',
|
|
405
404
|
value: params.initiator,
|
|
@@ -800,7 +799,7 @@ class IOWriteable extends IOReadable {
|
|
|
800
799
|
return this.process.send({
|
|
801
800
|
signer: this.signer,
|
|
802
801
|
tags: [
|
|
803
|
-
{ name: 'Action', value: 'Primary-Name
|
|
802
|
+
{ name: 'Action', value: 'Request-Primary-Name' },
|
|
804
803
|
{ name: 'Name', value: params.name },
|
|
805
804
|
],
|
|
806
805
|
});
|
package/lib/cjs/version.js
CHANGED
package/lib/esm/common/io.js
CHANGED
|
@@ -395,7 +395,6 @@ export class IOReadable {
|
|
|
395
395
|
async getPrimaryNameRequest(params) {
|
|
396
396
|
const allTags = [
|
|
397
397
|
{ name: 'Action', value: 'Primary-Name-Request' },
|
|
398
|
-
{ name: 'Name', value: params.name },
|
|
399
398
|
{
|
|
400
399
|
name: 'Initiator',
|
|
401
400
|
value: params.initiator,
|
|
@@ -795,7 +794,7 @@ export class IOWriteable extends IOReadable {
|
|
|
795
794
|
return this.process.send({
|
|
796
795
|
signer: this.signer,
|
|
797
796
|
tags: [
|
|
798
|
-
{ name: 'Action', value: 'Primary-Name
|
|
797
|
+
{ name: 'Action', value: 'Request-Primary-Name' },
|
|
799
798
|
{ name: 'Name', value: params.name },
|
|
800
799
|
],
|
|
801
800
|
});
|
package/lib/esm/version.js
CHANGED
package/lib/types/common/io.d.ts
CHANGED
|
@@ -136,8 +136,6 @@ export declare class IOReadable implements AoIORead {
|
|
|
136
136
|
}): Promise<PaginationResult<AoGatewayVault>>;
|
|
137
137
|
getPrimaryNameRequest(params: {
|
|
138
138
|
initiator: WalletAddress;
|
|
139
|
-
} | {
|
|
140
|
-
name: string;
|
|
141
139
|
}): Promise<AoPrimaryNameRequest>;
|
|
142
140
|
getPrimaryNameRequests(params: PaginationParams<AoPrimaryNameRequest>): Promise<PaginationResult<AoPrimaryNameRequest>>;
|
|
143
141
|
getPrimaryName(params: {
|
package/lib/types/types/io.d.ts
CHANGED
|
@@ -319,12 +319,8 @@ export interface AoIORead {
|
|
|
319
319
|
}): Promise<AoVaultData>;
|
|
320
320
|
getPrimaryNameRequest(params: {
|
|
321
321
|
initiator: WalletAddress;
|
|
322
|
-
} | {
|
|
323
|
-
name: string;
|
|
324
322
|
}): Promise<AoPrimaryNameRequest>;
|
|
325
|
-
getPrimaryNameRequests(params: PaginationParams<AoPrimaryNameRequest>
|
|
326
|
-
initiator?: WalletAddress;
|
|
327
|
-
}): Promise<PaginationResult<AoPrimaryNameRequest>>;
|
|
323
|
+
getPrimaryNameRequests(params: PaginationParams<AoPrimaryNameRequest>): Promise<PaginationResult<AoPrimaryNameRequest>>;
|
|
328
324
|
getPrimaryName(params: {
|
|
329
325
|
address: WalletAddress;
|
|
330
326
|
} | {
|
package/lib/types/version.d.ts
CHANGED