@ar.io/sdk 2.5.1 → 2.5.2-alpha.1

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.
@@ -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-Request' },
802
+ { name: 'Action', value: 'Request-Primary-Name' },
804
803
  { name: 'Name', value: params.name },
805
804
  ],
806
805
  });
@@ -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.1';
20
+ exports.version = '2.5.2-alpha.1';
@@ -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-Request' },
797
+ { name: 'Action', value: 'Request-Primary-Name' },
799
798
  { name: 'Name', value: params.name },
800
799
  ],
801
800
  });
@@ -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.1';
17
+ export const version = '2.5.2-alpha.1';
@@ -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: {
@@ -46,6 +46,7 @@ export type AoMessageResult = {
46
46
  };
47
47
  export type AoPrimaryNameRequest = {
48
48
  name: string;
49
+ initiator: WalletAddress;
49
50
  startTimestamp: Timestamp;
50
51
  endTimestamp: Timestamp;
51
52
  };
@@ -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
  } | {
@@ -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.1-alpha.1";
16
+ export declare const version = "2.5.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ar.io/sdk",
3
- "version": "2.5.1",
3
+ "version": "2.5.2-alpha.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ar-io/ar-io-sdk.git"