@learncard/create-http-bridge 1.1.260 → 1.1.261
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/CHANGELOG.md +8 -0
- package/README.md +5 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @learncard/create-http-bridge
|
|
2
2
|
|
|
3
|
+
## 1.1.261
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`9018e3173393f2ec9645286edd99bb80aa3b2c6c`](https://github.com/learningeconomy/LearnCard/commit/9018e3173393f2ec9645286edd99bb80aa3b2c6c)]:
|
|
8
|
+
- @learncard/types@5.23.1
|
|
9
|
+
- @learncard/init@2.5.4
|
|
10
|
+
|
|
3
11
|
## 1.1.260
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -28,10 +28,14 @@ bridge copy, so local, CLI, and serverless execution cannot silently use differe
|
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
30
|
cd lib/didkit/lib/web
|
|
31
|
-
wasm-pack build --target=web && cd pkg && wasm-opt -Oz -o tmp.wasm didkit_wasm_bg.wasm && mv tmp.wasm didkit_wasm_bg.wasm && cp didkit* ../../../../../packages/plugins/didkit/src/didkit/pkg/ && cd ..
|
|
31
|
+
wasm-pack build --target=web && cd pkg && wasm-opt -Oz --enable-mutable-globals --enable-nontrapping-float-to-int --enable-bulk-memory --enable-sign-ext --enable-reference-types --enable-multivalue -o tmp.wasm didkit_wasm_bg.wasm && mv tmp.wasm didkit_wasm_bg.wasm && cp didkit* ../../../../../packages/plugins/didkit/src/didkit/pkg/ && cd ..
|
|
32
32
|
bun --cwd ../../../../packages/plugins/didkit run build
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
+
Pass the explicit `--enable-*` feature flags to `wasm-opt`, matching
|
|
36
|
+
`packages/plugins/didkit/scripts/build-wasm-from-submodules.sh`. Stripped DIDKit release builds
|
|
37
|
+
have no `target_features` section, so a plain `wasm-opt -Oz` fails validation.
|
|
38
|
+
|
|
35
39
|
Stop and restart any running bridge after rebuilding; it loads the DIDKit WASM during
|
|
36
40
|
initialization.
|
|
37
41
|
When intentionally rebuilding DIDKit, review the new binary and run
|
package/dist/index.js
CHANGED
|
@@ -415,7 +415,7 @@ const App = ({ name = "LearnCardHTTPBridge" }) => {
|
|
|
415
415
|
};
|
|
416
416
|
|
|
417
417
|
var name = "@learncard/create-http-bridge";
|
|
418
|
-
var version = "1.1.
|
|
418
|
+
var version = "1.1.261";
|
|
419
419
|
var description = "Instantly create and deploy a Learn Card Bridge HTTP API via AWS Lambda!";
|
|
420
420
|
var main = "dist/index.js";
|
|
421
421
|
var bin = "dist/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@learncard/create-http-bridge",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.261",
|
|
4
4
|
"description": "Instantly create and deploy a Learn Card Bridge HTTP API via AWS Lambda!",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": "dist/index.js",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"author": "Learning Economy Foundation (www.learningeconomy.io)",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@learncard/init": "2.5.
|
|
18
|
-
"@learncard/types": "5.23.
|
|
17
|
+
"@learncard/init": "2.5.4",
|
|
18
|
+
"@learncard/types": "5.23.1",
|
|
19
19
|
"@rollup/plugin-json": "^4.1.0",
|
|
20
20
|
"commander": "^9.3.0",
|
|
21
21
|
"cors": "^2.8.5",
|