@ar.io/sdk 2.2.1 → 2.2.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.
Files changed (59) hide show
  1. package/LICENSE.md +201 -661
  2. package/README.md +32 -0
  3. package/bundles/web.bundle.min.js +143 -139
  4. package/lib/cjs/common/ant-registry.js +10 -11
  5. package/lib/cjs/common/ant.js +10 -11
  6. package/lib/cjs/common/arweave.js +10 -11
  7. package/lib/cjs/common/contracts/ao-process.js +10 -11
  8. package/lib/cjs/common/error.js +10 -11
  9. package/lib/cjs/common/index.js +10 -11
  10. package/lib/cjs/common/logger.js +10 -11
  11. package/lib/cjs/constants.js +10 -11
  12. package/lib/cjs/node/index.js +11 -12
  13. package/lib/cjs/token.js +10 -11
  14. package/lib/cjs/types.js +10 -11
  15. package/lib/cjs/utils/ao.js +11 -12
  16. package/lib/cjs/utils/base64.js +10 -11
  17. package/lib/cjs/utils/http-client.js +10 -11
  18. package/lib/cjs/utils/index.js +10 -11
  19. package/lib/cjs/utils/json.js +10 -11
  20. package/lib/cjs/utils/processes.js +10 -11
  21. package/lib/cjs/version.js +11 -12
  22. package/lib/cjs/web/index.js +11 -12
  23. package/lib/esm/common/ant-registry.js +10 -11
  24. package/lib/esm/common/ant.js +10 -11
  25. package/lib/esm/common/arweave.js +10 -11
  26. package/lib/esm/common/contracts/ao-process.js +10 -11
  27. package/lib/esm/common/error.js +10 -11
  28. package/lib/esm/common/index.js +10 -11
  29. package/lib/esm/common/logger.js +10 -11
  30. package/lib/esm/constants.js +10 -11
  31. package/lib/esm/node/index.js +11 -12
  32. package/lib/esm/token.js +10 -11
  33. package/lib/esm/types.js +10 -11
  34. package/lib/esm/utils/ao.js +11 -12
  35. package/lib/esm/utils/base64.js +10 -11
  36. package/lib/esm/utils/http-client.js +10 -11
  37. package/lib/esm/utils/index.js +10 -11
  38. package/lib/esm/utils/json.js +10 -11
  39. package/lib/esm/utils/processes.js +10 -11
  40. package/lib/esm/version.js +11 -12
  41. package/lib/esm/web/index.js +11 -12
  42. package/lib/types/common/ant.d.ts +10 -11
  43. package/lib/types/common/arweave.d.ts +10 -11
  44. package/lib/types/common/error.d.ts +10 -11
  45. package/lib/types/common/index.d.ts +10 -11
  46. package/lib/types/common/io.d.ts +10 -11
  47. package/lib/types/common.d.ts +11 -12
  48. package/lib/types/constants.d.ts +10 -11
  49. package/lib/types/io.d.ts +10 -11
  50. package/lib/types/node/index.d.ts +11 -12
  51. package/lib/types/types.d.ts +10 -11
  52. package/lib/types/utils/arweave.d.ts +10 -11
  53. package/lib/types/utils/http-client.d.ts +10 -11
  54. package/lib/types/utils/index.d.ts +10 -11
  55. package/lib/types/utils/json.d.ts +10 -11
  56. package/lib/types/utils/processes.d.ts +10 -11
  57. package/lib/types/version.d.ts +11 -12
  58. package/lib/types/web/index.d.ts +11 -12
  59. package/package.json +3 -3
@@ -2,20 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AoANTRegistryWriteable = exports.AoANTRegistryReadable = exports.ANTRegistry = void 0;
4
4
  /**
5
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
5
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
6
6
  *
7
- * This program is free software: you can redistribute it and/or modify
8
- * it under the terms of the GNU Affero General Public License as published by
9
- * the Free Software Foundation, either version 3 of the License, or
10
- * (at your option) any later version.
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
11
10
  *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU Affero General Public License for more details.
11
+ * http://www.apache.org/licenses/LICENSE-2.0
16
12
  *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
19
18
  */
20
19
  const constants_js_1 = require("../constants.js");
21
20
  const types_js_1 = require("../types.js");
@@ -2,20 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AoANTWriteable = exports.AoANTReadable = exports.ANT = void 0;
4
4
  /**
5
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
5
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
6
6
  *
7
- * This program is free software: you can redistribute it and/or modify
8
- * it under the terms of the GNU Affero General Public License as published by
9
- * the Free Software Foundation, either version 3 of the License, or
10
- * (at your option) any later version.
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
11
10
  *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU Affero General Public License for more details.
11
+ * http://www.apache.org/licenses/LICENSE-2.0
16
12
  *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
19
18
  */
20
19
  const types_js_1 = require("../types.js");
21
20
  const ao_js_1 = require("../utils/ao.js");
@@ -5,20 +5,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.defaultArweave = void 0;
7
7
  /**
8
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
8
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
9
9
  *
10
- * This program is free software: you can redistribute it and/or modify
11
- * it under the terms of the GNU Affero General Public License as published by
12
- * the Free Software Foundation, either version 3 of the License, or
13
- * (at your option) any later version.
10
+ * Licensed under the Apache License, Version 2.0 (the "License");
11
+ * you may not use this file except in compliance with the License.
12
+ * You may obtain a copy of the License at
14
13
  *
15
- * This program is distributed in the hope that it will be useful,
16
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
- * GNU Affero General Public License for more details.
14
+ * http://www.apache.org/licenses/LICENSE-2.0
19
15
  *
20
- * You should have received a copy of the GNU Affero General Public License
21
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ * Unless required by applicable law or agreed to in writing, software
17
+ * distributed under the License is distributed on an "AS IS" BASIS,
18
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ * See the License for the specific language governing permissions and
20
+ * limitations under the License.
22
21
  */
23
22
  const index_js_1 = __importDefault(require("arweave/node/index.js"));
24
23
  exports.defaultArweave = index_js_1.default.init({
@@ -2,20 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AOProcess = void 0;
4
4
  /**
5
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
5
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
6
6
  *
7
- * This program is free software: you can redistribute it and/or modify
8
- * it under the terms of the GNU Affero General Public License as published by
9
- * the Free Software Foundation, either version 3 of the License, or
10
- * (at your option) any later version.
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
11
10
  *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU Affero General Public License for more details.
11
+ * http://www.apache.org/licenses/LICENSE-2.0
16
12
  *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
19
18
  */
20
19
  const aoconnect_1 = require("@permaweb/aoconnect");
21
20
  const json_js_1 = require("../../utils/json.js");
@@ -2,20 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AbortError = exports.InvalidProcessConfigurationError = exports.InvalidContractConfigurationError = exports.InvalidSignerError = exports.WriteInteractionError = exports.UnknownError = exports.FailedRequestError = exports.BadRequest = exports.NotFound = exports.BaseError = void 0;
4
4
  /**
5
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
5
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
6
6
  *
7
- * This program is free software: you can redistribute it and/or modify
8
- * it under the terms of the GNU Affero General Public License as published by
9
- * the Free Software Foundation, either version 3 of the License, or
10
- * (at your option) any later version.
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
11
10
  *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU Affero General Public License for more details.
11
+ * http://www.apache.org/licenses/LICENSE-2.0
16
12
  *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
19
18
  */
20
19
  class BaseError extends Error {
21
20
  constructor(message) {
@@ -15,20 +15,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /**
18
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
18
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
19
19
  *
20
- * This program is free software: you can redistribute it and/or modify
21
- * it under the terms of the GNU Affero General Public License as published by
22
- * the Free Software Foundation, either version 3 of the License, or
23
- * (at your option) any later version.
20
+ * Licensed under the Apache License, Version 2.0 (the "License");
21
+ * you may not use this file except in compliance with the License.
22
+ * You may obtain a copy of the License at
24
23
  *
25
- * This program is distributed in the hope that it will be useful,
26
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
- * GNU Affero General Public License for more details.
24
+ * http://www.apache.org/licenses/LICENSE-2.0
29
25
  *
30
- * You should have received a copy of the GNU Affero General Public License
31
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
26
+ * Unless required by applicable law or agreed to in writing, software
27
+ * distributed under the License is distributed on an "AS IS" BASIS,
28
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29
+ * See the License for the specific language governing permissions and
30
+ * limitations under the License.
32
31
  */
33
32
  __exportStar(require("./error.js"), exports);
34
33
  __exportStar(require("./logger.js"), exports);
@@ -2,20 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Logger = void 0;
4
4
  /**
5
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
5
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
6
6
  *
7
- * This program is free software: you can redistribute it and/or modify
8
- * it under the terms of the GNU Affero General Public License as published by
9
- * the Free Software Foundation, either version 3 of the License, or
10
- * (at your option) any later version.
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
11
10
  *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU Affero General Public License for more details.
11
+ * http://www.apache.org/licenses/LICENSE-2.0
16
12
  *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
19
18
  */
20
19
  const winston_1 = require("winston");
21
20
  const version_js_1 = require("../version.js");
@@ -2,20 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DEFAULT_SCHEDULER_ID = exports.ANT_LUA_ID = exports.AOS_MODULE_ID = exports.MIO_PER_IO = exports.ANT_REGISTRY_ID = exports.IO_TESTNET_PROCESS_ID = exports.ioDevnetProcessId = exports.IO_DEVNET_PROCESS_ID = exports.ARNS_DEVNET_REGISTRY_TX = exports.ARNS_TESTNET_REGISTRY_TX = exports.SORT_KEY_REGEX = exports.FQDN_REGEX = exports.ARWEAVE_TX_REGEX = void 0;
4
4
  /**
5
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
5
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
6
6
  *
7
- * This program is free software: you can redistribute it and/or modify
8
- * it under the terms of the GNU Affero General Public License as published by
9
- * the Free Software Foundation, either version 3 of the License, or
10
- * (at your option) any later version.
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
11
10
  *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU Affero General Public License for more details.
11
+ * http://www.apache.org/licenses/LICENSE-2.0
16
12
  *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
19
18
  */
20
19
  exports.ARWEAVE_TX_REGEX = new RegExp('^[a-zA-Z0-9_-]{43}$');
21
20
  /** FQDN regex that matches the one used in the ArNS contract. */
@@ -16,22 +16,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.ArconnectSigner = exports.ArweaveSigner = void 0;
18
18
  /**
19
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
19
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
20
20
  *
21
- * This program is free software: you can redistribute it and/or modify
22
- * it under the terms of the GNU Affero General Public License as published by
23
- * the Free Software Foundation, either version 3 of the License, or
24
- * (at your option) any later version.
21
+ * Licensed under the Apache License, Version 2.0 (the "License");
22
+ * you may not use this file except in compliance with the License.
23
+ * You may obtain a copy of the License at
25
24
  *
26
- * This program is distributed in the hope that it will be useful,
27
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
28
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29
- * GNU Affero General Public License for more details.
25
+ * http://www.apache.org/licenses/LICENSE-2.0
30
26
  *
31
- * You should have received a copy of the GNU Affero General Public License
32
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
27
+ * Unless required by applicable law or agreed to in writing, software
28
+ * distributed under the License is distributed on an "AS IS" BASIS,
29
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
30
+ * See the License for the specific language governing permissions and
31
+ * limitations under the License.
33
32
  */
34
- var arbundles_1 = require("arbundles");
33
+ var arbundles_1 = require("@dha-team/arbundles");
35
34
  Object.defineProperty(exports, "ArweaveSigner", { enumerable: true, get: function () { return arbundles_1.ArweaveSigner; } });
36
35
  Object.defineProperty(exports, "ArconnectSigner", { enumerable: true, get: function () { return arbundles_1.ArconnectSigner; } });
37
36
  __exportStar(require("../types.js"), exports);
package/lib/cjs/token.js CHANGED
@@ -2,20 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.mIOToken = exports.IOToken = void 0;
4
4
  /**
5
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
5
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
6
6
  *
7
- * This program is free software: you can redistribute it and/or modify
8
- * it under the terms of the GNU Affero General Public License as published by
9
- * the Free Software Foundation, either version 3 of the License, or
10
- * (at your option) any later version.
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
11
10
  *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU Affero General Public License for more details.
11
+ * http://www.apache.org/licenses/LICENSE-2.0
16
12
  *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
19
18
  */
20
19
  const constants_js_1 = require("./constants.js");
21
20
  class PositiveFiniteInteger {
package/lib/cjs/types.js CHANGED
@@ -15,20 +15,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /**
18
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
18
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
19
19
  *
20
- * This program is free software: you can redistribute it and/or modify
21
- * it under the terms of the GNU Affero General Public License as published by
22
- * the Free Software Foundation, either version 3 of the License, or
23
- * (at your option) any later version.
20
+ * Licensed under the Apache License, Version 2.0 (the "License");
21
+ * you may not use this file except in compliance with the License.
22
+ * You may obtain a copy of the License at
24
23
  *
25
- * This program is distributed in the hope that it will be useful,
26
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
- * GNU Affero General Public License for more details.
24
+ * http://www.apache.org/licenses/LICENSE-2.0
29
25
  *
30
- * You should have received a copy of the GNU Affero General Public License
31
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
26
+ * Unless required by applicable law or agreed to in writing, software
27
+ * distributed under the License is distributed on an "AS IS" BASIS,
28
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29
+ * See the License for the specific language governing permissions and
30
+ * limitations under the License.
32
31
  */
33
32
  __exportStar(require("./common.js"), exports);
34
33
  __exportStar(require("./token.js"), exports);
@@ -2,23 +2,22 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isAoANTState = exports.AntStateSchema = exports.createAoSigner = exports.isAoSigner = exports.evolveANT = exports.spawnANT = void 0;
4
4
  /**
5
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
5
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
6
6
  *
7
- * This program is free software: you can redistribute it and/or modify
8
- * it under the terms of the GNU Affero General Public License as published by
9
- * the Free Software Foundation, either version 3 of the License, or
10
- * (at your option) any later version.
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
11
10
  *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU Affero General Public License for more details.
11
+ * http://www.apache.org/licenses/LICENSE-2.0
16
12
  *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
19
18
  */
19
+ const arbundles_1 = require("@dha-team/arbundles");
20
20
  const aoconnect_1 = require("@permaweb/aoconnect");
21
- const arbundles_1 = require("arbundles");
22
21
  const zod_1 = require("zod");
23
22
  const arweave_js_1 = require("../common/arweave.js");
24
23
  const index_js_1 = require("../common/index.js");
@@ -2,20 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sha256B64Url = exports.toB64Url = exports.fromB64Url = void 0;
4
4
  /**
5
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
5
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
6
6
  *
7
- * This program is free software: you can redistribute it and/or modify
8
- * it under the terms of the GNU Affero General Public License as published by
9
- * the Free Software Foundation, either version 3 of the License, or
10
- * (at your option) any later version.
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
11
10
  *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU Affero General Public License for more details.
11
+ * http://www.apache.org/licenses/LICENSE-2.0
16
12
  *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
19
18
  */
20
19
  const crypto_1 = require("crypto");
21
20
  // safely encodes and decodes base64url strings to and from buffers
@@ -5,20 +5,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.createAxiosInstance = void 0;
7
7
  /**
8
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
8
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
9
9
  *
10
- * This program is free software: you can redistribute it and/or modify
11
- * it under the terms of the GNU Affero General Public License as published by
12
- * the Free Software Foundation, either version 3 of the License, or
13
- * (at your option) any later version.
10
+ * Licensed under the Apache License, Version 2.0 (the "License");
11
+ * you may not use this file except in compliance with the License.
12
+ * You may obtain a copy of the License at
14
13
  *
15
- * This program is distributed in the hope that it will be useful,
16
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
- * GNU Affero General Public License for more details.
14
+ * http://www.apache.org/licenses/LICENSE-2.0
19
15
  *
20
- * You should have received a copy of the GNU Affero General Public License
21
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ * Unless required by applicable law or agreed to in writing, software
17
+ * distributed under the License is distributed on an "AS IS" BASIS,
18
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ * See the License for the specific language governing permissions and
20
+ * limitations under the License.
22
21
  */
23
22
  const axios_1 = __importDefault(require("axios"));
24
23
  const axios_retry_1 = __importDefault(require("axios-retry"));
@@ -15,20 +15,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /**
18
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
18
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
19
19
  *
20
- * This program is free software: you can redistribute it and/or modify
21
- * it under the terms of the GNU Affero General Public License as published by
22
- * the Free Software Foundation, either version 3 of the License, or
23
- * (at your option) any later version.
20
+ * Licensed under the Apache License, Version 2.0 (the "License");
21
+ * you may not use this file except in compliance with the License.
22
+ * You may obtain a copy of the License at
24
23
  *
25
- * This program is distributed in the hope that it will be useful,
26
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
- * GNU Affero General Public License for more details.
24
+ * http://www.apache.org/licenses/LICENSE-2.0
29
25
  *
30
- * You should have received a copy of the GNU Affero General Public License
31
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
26
+ * Unless required by applicable law or agreed to in writing, software
27
+ * distributed under the License is distributed on an "AS IS" BASIS,
28
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29
+ * See the License for the specific language governing permissions and
30
+ * limitations under the License.
32
31
  */
33
32
  __exportStar(require("./arweave.js"), exports);
34
33
  __exportStar(require("./http-client.js"), exports);
@@ -1,19 +1,18 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
3
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
4
4
  *
5
- * This program is free software: you can redistribute it and/or modify
6
- * it under the terms of the GNU Affero General Public License as published by
7
- * the Free Software Foundation, either version 3 of the License, or
8
- * (at your option) any later version.
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
9
8
  *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU Affero General Public License for more details.
9
+ * http://www.apache.org/licenses/LICENSE-2.0
14
10
  *
15
- * You should have received a copy of the GNU Affero General Public License
16
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
17
16
  */
18
17
  Object.defineProperty(exports, "__esModule", { value: true });
19
18
  exports.safeDecode = void 0;
@@ -2,20 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.fetchAllArNSRecords = exports.ArNSEventEmitter = exports.getANTProcessesOwnedByWallet = void 0;
4
4
  /**
5
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
5
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
6
6
  *
7
- * This program is free software: you can redistribute it and/or modify
8
- * it under the terms of the GNU Affero General Public License as published by
9
- * the Free Software Foundation, either version 3 of the License, or
10
- * (at your option) any later version.
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
11
10
  *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU Affero General Public License for more details.
11
+ * http://www.apache.org/licenses/LICENSE-2.0
16
12
  *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
19
18
  */
20
19
  const eventemitter3_1 = require("eventemitter3");
21
20
  const plimit_lit_1 = require("plimit-lit");
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
3
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
4
4
  *
5
- * This program is free software: you can redistribute it and/or modify
6
- * it under the terms of the GNU Affero General Public License as published by
7
- * the Free Software Foundation, either version 3 of the License, or
8
- * (at your option) any later version.
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
9
8
  *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU Affero General Public License for more details.
9
+ * http://www.apache.org/licenses/LICENSE-2.0
14
10
  *
15
- * You should have received a copy of the GNU Affero General Public License
16
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
17
16
  */
18
17
  Object.defineProperty(exports, "__esModule", { value: true });
19
18
  exports.version = void 0;
20
19
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
21
- exports.version = '2.2.1';
20
+ exports.version = '2.2.2-alpha.1';