@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
@@ -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);
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  import { ANT_REGISTRY_ID } from '../constants.js';
18
17
  import { isProcessConfiguration, isProcessIdConfiguration, } from '../types.js';
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  import { isProcessConfiguration, isProcessIdConfiguration, } from '../types.js';
18
17
  import { createAoSigner } from '../utils/ao.js';
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  import Arweave from 'arweave/node/index.js';
18
17
  export const defaultArweave = Arweave.init({
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  import { connect } from '@permaweb/aoconnect';
18
17
  import { safeDecode } from '../../utils/json.js';
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  export class BaseError extends Error {
18
17
  constructor(message) {
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  export * from './error.js';
18
17
  export * from './logger.js';
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  import { createLogger, format, transports, } from 'winston';
18
17
  import { version } from '../version.js';
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  export const ARWEAVE_TX_REGEX = new RegExp('^[a-zA-Z0-9_-]{43}$');
18
17
  /** FQDN regex that matches the one used in the ArNS contract. */
@@ -1,20 +1,19 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
- export { ArweaveSigner, ArconnectSigner } from 'arbundles';
16
+ export { ArweaveSigner, ArconnectSigner } from '@dha-team/arbundles';
18
17
  export * from '../types.js';
19
18
  export * from '../common/index.js';
20
19
  export * from '../constants.js';
package/lib/esm/token.js CHANGED
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  import { MIO_PER_IO } from './constants.js';
18
17
  class PositiveFiniteInteger {
package/lib/esm/types.js CHANGED
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  export * from './common.js';
18
17
  export * from './token.js';
@@ -1,21 +1,20 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
16
+ import { createData } from '@dha-team/arbundles';
17
17
  import { connect, createDataItemSigner } from '@permaweb/aoconnect';
18
- import { createData } from 'arbundles';
19
18
  import { z } from 'zod';
20
19
  import { defaultArweave } from '../common/arweave.js';
21
20
  import { ANTRegistry, AOProcess, Logger } from '../common/index.js';
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  import { createHash } from 'crypto';
18
17
  // safely encodes and decodes base64url strings to and from buffers
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  import axios from 'axios';
18
17
  import axiosRetry from 'axios-retry';
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  export * from './arweave.js';
18
17
  export * from './http-client.js';
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
18
17
  export function safeDecode(data) {
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  import { EventEmitter } from 'eventemitter3';
18
17
  import { pLimit } from 'plimit-lit';
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
2
+ * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
3
  *
4
- * This program is free software: you can redistribute it and/or modify
5
- * it under the terms of the GNU Affero General Public License as published by
6
- * the Free Software Foundation, either version 3 of the License, or
7
- * (at your option) any later version.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
8
7
  *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU Affero General Public License for more details.
8
+ * http://www.apache.org/licenses/LICENSE-2.0
13
9
  *
14
- * You should have received a copy of the GNU Affero General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
16
15
  */
17
16
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
18
- export const version = '2.2.1';
17
+ export const version = '2.2.2-alpha.1';