@edge-base/web 0.1.1 → 0.1.2
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/README.md +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/llms.txt +1 -1
- package/package.json +47 -48
package/README.md
CHANGED
|
@@ -104,7 +104,7 @@ npm install @edge-base/web
|
|
|
104
104
|
Starting a brand new project?
|
|
105
105
|
|
|
106
106
|
```bash
|
|
107
|
-
npm create
|
|
107
|
+
npm create edgebase@latest my-app
|
|
108
108
|
```
|
|
109
109
|
|
|
110
110
|
That scaffold creates a full EdgeBase app and wires in the local CLI for development and deployment.
|
|
@@ -117,7 +117,7 @@ If you already have a frontend app, a good default is to create EdgeBase inside
|
|
|
117
117
|
|
|
118
118
|
```bash
|
|
119
119
|
cd your-frontend-project
|
|
120
|
-
npm create
|
|
120
|
+
npm create edgebase@latest edgebase
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
That gives you a layout like:
|
package/dist/index.d.ts
CHANGED
|
@@ -17,5 +17,5 @@ export { getCaptchaToken, fetchSiteKey, resolveCaptchaToken } from './turnstile.
|
|
|
17
17
|
export { RoomClient, type RoomOptions, type Subscription, type RoomConnectionState, type RoomMemberLeaveReason, type RoomSignalMeta, type RoomMember, type RoomReconnectInfo, type RoomMediaKind, type RoomMediaTrack, type RoomMemberMediaKindState, type RoomMemberMediaState, type RoomMediaMember, type RoomMediaDeviceChange, type RoomRealtimeSessionDescription, type RoomRealtimeTrackObject, type RoomRealtimeCreateSessionRequest, type RoomRealtimeCreateSessionResponse, type RoomRealtimeIceServer, type RoomRealtimeIceServersRequest, type RoomRealtimeIceServersResponse, type RoomRealtimeTracksRequest, type RoomRealtimeTracksResponse, type RoomRealtimeRenegotiateRequest, type RoomRealtimeCloseTracksRequest, } from './room.js';
|
|
18
18
|
export { RoomRealtimeMediaTransport, type RoomRealtimeMediaTransportOptions, type RoomRealtimeRemoteTrackEvent, } from './room-realtime-media.js';
|
|
19
19
|
export { ClientAnalytics } from './analytics.js';
|
|
20
|
-
export { EdgeBaseError } from '@edge-base/core';
|
|
20
|
+
export { EdgeBaseError, ResumableUploadError } from '@edge-base/core';
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGnF,OAAO,EAAE,UAAU,EAAE,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AACzK,OAAO,EAAE,YAAY,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAG/G,OAAO,EAAE,kBAAkB,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGzF,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAGpF,OAAO,EACL,UAAU,EACV,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,qBAAq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B,EACxB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,EAC5B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACnC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,GACpC,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,0BAA0B,EAC1B,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,GAClC,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -24,5 +24,5 @@ export { RoomRealtimeMediaTransport, } from './room-realtime-media.js';
|
|
|
24
24
|
// Analytics
|
|
25
25
|
export { ClientAnalytics } from './analytics.js';
|
|
26
26
|
// Errors (re-exported for convenience)
|
|
27
|
-
export { EdgeBaseError } from '@edge-base/core';
|
|
27
|
+
export { EdgeBaseError, ResumableUploadError } from '@edge-base/core';
|
|
28
28
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,qBAAqB;AACrB,OAAO,EAAE,cAAc,EAAE,YAAY,EAA0B,MAAM,aAAa,CAAC;AAEnF,OAAO;AACP,OAAO,EAAE,UAAU,EAAoI,MAAM,WAAW,CAAC;AACzK,OAAO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B,CAAC"}
|
package/llms.txt
CHANGED
package/package.json
CHANGED
|
@@ -1,50 +1,49 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"sideEffects": false,
|
|
30
|
-
"files": [
|
|
31
|
-
"dist",
|
|
32
|
-
"llms.txt"
|
|
33
|
-
],
|
|
34
|
-
"publishConfig": {
|
|
35
|
-
"access": "public"
|
|
36
|
-
},
|
|
37
|
-
"scripts": {
|
|
38
|
-
"build": "tsc",
|
|
39
|
-
"dev": "tsc --watch",
|
|
40
|
-
"test": "tsc --noEmit && vitest run test/unit/",
|
|
41
|
-
"prepack": "pnpm run build"
|
|
42
|
-
},
|
|
43
|
-
"dependencies": {
|
|
44
|
-
"@edge-base/core": "workspace:*"
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"typescript": "^5.7.0",
|
|
48
|
-
"vitest": "^3.0.0"
|
|
2
|
+
"name": "@edge-base/web",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "EdgeBase web SDK — browser client with database-live subscriptions, room, and auth persistence",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/edge-base/edgebase.git",
|
|
9
|
+
"directory": "packages/sdk/js/packages/web"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://edgebase.fun",
|
|
12
|
+
"bugs": "https://github.com/edge-base/edgebase/issues",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"edgebase",
|
|
15
|
+
"sdk",
|
|
16
|
+
"web",
|
|
17
|
+
"database-live",
|
|
18
|
+
"baas"
|
|
19
|
+
],
|
|
20
|
+
"type": "module",
|
|
21
|
+
"main": "./dist/index.js",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"import": "./dist/index.js"
|
|
49
27
|
}
|
|
50
|
-
}
|
|
28
|
+
},
|
|
29
|
+
"sideEffects": false,
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"llms.txt"
|
|
33
|
+
],
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@edge-base/core": "0.1.2"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"typescript": "^5.7.0",
|
|
42
|
+
"vitest": "^3.0.0"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsc",
|
|
46
|
+
"dev": "tsc --watch",
|
|
47
|
+
"test": "tsc --noEmit && vitest run test/unit/"
|
|
48
|
+
}
|
|
49
|
+
}
|