@noosphere/sdk 0.1.0-alpha.0

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/dist/index.cjs ADDED
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+
31
+ // src/index.ts
32
+ var index_exports = {};
33
+ __export(index_exports, {
34
+ contracts: () => contracts,
35
+ crypto: () => crypto,
36
+ registry: () => registry
37
+ });
38
+ module.exports = __toCommonJS(index_exports);
39
+ __reExport(index_exports, require("@noosphere/agent-core"), module.exports);
40
+ var contracts = __toESM(require("@noosphere/contracts"));
41
+ var crypto = __toESM(require("@noosphere/crypto"));
42
+ var registry = __toESM(require("@noosphere/registry"));
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ contracts,
46
+ crypto,
47
+ registry,
48
+ ...require("@noosphere/agent-core")
49
+ });
50
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * Noosphere SDK\n *\n * Unified entry point for all Noosphere packages.\n *\n * @example\n * ```typescript\n * import { NoosphereAgent, Coordinator, WalletManager } from '@noosphere/sdk';\n * ```\n */\n\n// Re-export from agent-core\nexport * from '@noosphere/agent-core';\n\n// Re-export from contracts (with namespace to avoid conflicts)\nexport * as contracts from '@noosphere/contracts';\n\n// Re-export from crypto\nexport * as crypto from '@noosphere/crypto';\n\n// Re-export from registry\nexport * as registry from '@noosphere/registry';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYA,0BAAc,kCAZd;AAeA,gBAA2B;AAG3B,aAAwB;AAGxB,eAA0B;","names":[]}
@@ -0,0 +1,7 @@
1
+ export * from '@noosphere/agent-core';
2
+ import * as contracts from '@noosphere/contracts';
3
+ export { contracts };
4
+ import * as crypto from '@noosphere/crypto';
5
+ export { crypto };
6
+ import * as registry from '@noosphere/registry';
7
+ export { registry };
@@ -0,0 +1,7 @@
1
+ export * from '@noosphere/agent-core';
2
+ import * as contracts from '@noosphere/contracts';
3
+ export { contracts };
4
+ import * as crypto from '@noosphere/crypto';
5
+ export { crypto };
6
+ import * as registry from '@noosphere/registry';
7
+ export { registry };
package/dist/index.js ADDED
@@ -0,0 +1,11 @@
1
+ // src/index.ts
2
+ export * from "@noosphere/agent-core";
3
+ import * as contracts from "@noosphere/contracts";
4
+ import * as crypto from "@noosphere/crypto";
5
+ import * as registry from "@noosphere/registry";
6
+ export {
7
+ contracts,
8
+ crypto,
9
+ registry
10
+ };
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * Noosphere SDK\n *\n * Unified entry point for all Noosphere packages.\n *\n * @example\n * ```typescript\n * import { NoosphereAgent, Coordinator, WalletManager } from '@noosphere/sdk';\n * ```\n */\n\n// Re-export from agent-core\nexport * from '@noosphere/agent-core';\n\n// Re-export from contracts (with namespace to avoid conflicts)\nexport * as contracts from '@noosphere/contracts';\n\n// Re-export from crypto\nexport * as crypto from '@noosphere/crypto';\n\n// Re-export from registry\nexport * as registry from '@noosphere/registry';\n"],"mappings":";AAYA,cAAc;AAGd,YAAY,eAAe;AAG3B,YAAY,YAAY;AAGxB,YAAY,cAAc;","names":[]}
package/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@noosphere/sdk",
3
+ "version": "0.1.0-alpha.0",
4
+ "description": "Noosphere SDK - Unified package for decentralized compute agent development",
5
+ "main": "dist/index.cjs",
6
+ "module": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "require": {
11
+ "types": "./dist/index.d.ts",
12
+ "default": "./dist/index.cjs"
13
+ },
14
+ "import": {
15
+ "types": "./dist/index.d.mts",
16
+ "default": "./dist/index.js"
17
+ }
18
+ }
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "scripts": {
24
+ "build": "tsup",
25
+ "test": "echo 'No tests for meta package'",
26
+ "clean": "rm -rf dist",
27
+ "prepublishOnly": "npm run build"
28
+ },
29
+ "keywords": [
30
+ "noosphere",
31
+ "blockchain",
32
+ "compute",
33
+ "agent",
34
+ "decentralized",
35
+ "sdk"
36
+ ],
37
+ "author": "Noosphere Team",
38
+ "license": "MIT",
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "https://github.com/hpp-io/noosphere-sdk.git",
42
+ "directory": "packages/sdk"
43
+ },
44
+ "bugs": {
45
+ "url": "https://github.com/hpp-io/noosphere-sdk/issues"
46
+ },
47
+ "homepage": "https://github.com/hpp-io/noosphere-sdk#readme",
48
+ "publishConfig": {
49
+ "access": "public"
50
+ },
51
+ "dependencies": {
52
+ "@noosphere/agent-core": "^0.1.0-alpha.0",
53
+ "@noosphere/contracts": "^0.1.0-alpha.0",
54
+ "@noosphere/crypto": "^0.1.0-alpha.0",
55
+ "@noosphere/registry": "^0.1.0-alpha.0"
56
+ },
57
+ "devDependencies": {
58
+ "typescript": "^5.3.0"
59
+ }
60
+ }