@near-mobile/connector 0.0.1-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.
package/package.json ADDED
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "@near-mobile/connector",
3
+ "version": "0.0.1-alpha-1",
4
+ "description": "Public client for the Near Mobile Connector: create requests, poll for responses, build deep-link URLs, and generate QR codes for wallet connections.",
5
+ "author": "Peersyst",
6
+ "license": "MIT",
7
+ "private": false,
8
+ "keywords": [
9
+ "near",
10
+ "near-protocol",
11
+ "wallet",
12
+ "connector",
13
+ "qr-code",
14
+ "deep-link"
15
+ ],
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/peersyst/near-mobile.git",
19
+ "directory": "packages/public/connector"
20
+ },
21
+ "homepage": "https://github.com/peersyst/near-mobile/tree/main/packages/public/connector#readme",
22
+ "bugs": {
23
+ "url": "https://github.com/peersyst/near-mobile/issues"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "README.md"
28
+ ],
29
+ "exports": {
30
+ ".": {
31
+ "types": "./index.d.ts",
32
+ "import": "./index.mjs",
33
+ "require": "./index.js"
34
+ },
35
+ "./strategies/qr-code": {
36
+ "types": "./strategies/qr-code/index.d.ts",
37
+ "import": "./strategies/qr-code/index.mjs",
38
+ "require": "./strategies/qr-code/index.js"
39
+ }
40
+ },
41
+ "sideEffects": false,
42
+ "publishConfig": {
43
+ "access": "public"
44
+ },
45
+ "scripts": {
46
+ "build": "mkdir -p public && cp package.json README.md public && tsup && rm -rf public",
47
+ "prepublishOnly": "pnpm run build",
48
+ "test": "jest --maxWorkers=30% --passWithNoTests",
49
+ "test:coverage": "test --coverage --passWithNoTests",
50
+ "test:watch": "test --watch --passWithNoTests",
51
+ "test:debug": "jest --no-cache --runInBand --passWithNoTests",
52
+ "clean": "rimraf .turbo dist node_modules",
53
+ "lint": "eslint .",
54
+ "check-types": "npx tsc --noEmit",
55
+ "generate-api": "openapi -i ../../../apps/connector/openapi-spec.json -o src/api/openapi --exportSchemas=true --exportModels=true --useUnionTypes --postfixServices=Api"
56
+ },
57
+ "dependencies": {
58
+ "qr-code-styling": "^1.9.2"
59
+ },
60
+ "devDependencies": {
61
+ "@shared/connector": "workspace:*",
62
+ "@shared/eslint": "workspace:*",
63
+ "@shared/tsconfig": "workspace:*",
64
+ "@shared/tsup": "workspace:*",
65
+ "@shared/utils": "workspace:*",
66
+ "@types/node": "latest",
67
+ "openapi-typescript": "^7.3.0",
68
+ "openapi-typescript-codegen": "^0.29.0",
69
+ "typescript": "latest"
70
+ }
71
+ }