@bamzzstudio/loka-sdk 0.1.0 → 0.1.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 (1) hide show
  1. package/package.json +20 -7
package/package.json CHANGED
@@ -1,10 +1,18 @@
1
1
  {
2
2
  "name": "@bamzzstudio/loka-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "SDK, contracts, and invoice agent helpers for Loka merchant payments on Celo.",
5
5
  "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "default": "./dist/index.js"
14
+ }
15
+ },
8
16
  "files": [
9
17
  "dist",
10
18
  "contracts",
@@ -19,12 +27,17 @@
19
27
  "url": "https://github.com/adekunlebamz/localpay-sdk/issues"
20
28
  },
21
29
  "homepage": "https://github.com/adekunlebamz/localpay-sdk#readme",
30
+ "publishConfig": {
31
+ "access": "public"
32
+ },
22
33
  "license": "MIT",
23
34
  "scripts": {
24
35
  "build": "npm run build:packages && tsc -p tsconfig.json",
25
36
  "build:packages": "npm run build --prefix packages/core && npm run build --prefix packages/contracts && npm run build --prefix packages/agent",
26
37
  "typecheck": "npm run typecheck:packages && tsc -p tsconfig.json --noEmit",
27
- "typecheck:packages": "npm run typecheck --prefix packages/core && npm run typecheck --prefix packages/contracts && npm run typecheck --prefix packages/agent"
38
+ "typecheck:packages": "npm run typecheck --prefix packages/core && npm run typecheck --prefix packages/contracts && npm run typecheck --prefix packages/agent",
39
+ "clean": "rm -rf dist packages/*/dist",
40
+ "prepare": "npm run build"
28
41
  },
29
42
  "workspaces": [
30
43
  "packages/core",
@@ -32,9 +45,9 @@
32
45
  "packages/agent"
33
46
  ],
34
47
  "dependencies": {
35
- "@bamzzstudio/loka-agent": "^0.1.0",
36
- "@bamzzstudio/loka-contracts": "^0.1.0",
37
- "@bamzzstudio/loka-core": "^0.1.0",
48
+ "@bamzzstudio/loka-agent": "^0.1.1",
49
+ "@bamzzstudio/loka-contracts": "^0.1.1",
50
+ "@bamzzstudio/loka-core": "^0.1.1",
38
51
  "viem": "^2.48.8"
39
52
  },
40
53
  "devDependencies": {