@learncard/create-http-bridge 1.1.258 → 1.1.259

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @learncard/create-http-bridge
2
2
 
3
+ ## 1.1.259
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1678](https://github.com/learningeconomy/LearnCard/pull/1678) [`cdd67a28de3ebbd11176711847a3eb0f14bd678d`](https://github.com/learningeconomy/LearnCard/commit/cdd67a28de3ebbd11176711847a3eb0f14bd678d) Thanks [@Custard7](https://github.com/Custard7)! - Upgrade `simple-git` to 4.0.2 to resolve GHSA-x6jw-m9v5-85vh (CVE-2026-102828), where the unsafe-operation guard did not block git trailer command configuration. The scaffold clone behaves the same; the CLI now uses the named `simpleGit` export because v4 removed the default export.
8
+
9
+ - [#1645](https://github.com/learningeconomy/LearnCard/pull/1645) [`590adf48867d6c6fd504e66a11c9827d5102122d`](https://github.com/learningeconomy/LearnCard/commit/590adf48867d6c6fd504e66a11c9827d5102122d) Thanks [@github-actions](https://github.com/apps/github-actions)! - Update DIDKit WASM from didkit 543de99bb356 and ssi 6d71e5f46e59, including the HTTP bridge artifact and integrity pin.
10
+
11
+ - Updated dependencies [[`6209da80c52ac056a7644dab14669192740c9dad`](https://github.com/learningeconomy/LearnCard/commit/6209da80c52ac056a7644dab14669192740c9dad), [`5890451789b18afee45dc5ecbab3fa30aa90f085`](https://github.com/learningeconomy/LearnCard/commit/5890451789b18afee45dc5ecbab3fa30aa90f085), [`1387cd0a08fa6b0a706c86a5a0376b6c7d706856`](https://github.com/learningeconomy/LearnCard/commit/1387cd0a08fa6b0a706c86a5a0376b6c7d706856), [`d7ca528898d988c65f0dc7084cfdcd41767648c5`](https://github.com/learningeconomy/LearnCard/commit/d7ca528898d988c65f0dc7084cfdcd41767648c5), [`8f3bc66ab3d3e5e1edb3fbf5f362025875a914ba`](https://github.com/learningeconomy/LearnCard/commit/8f3bc66ab3d3e5e1edb3fbf5f362025875a914ba), [`1387cd0a08fa6b0a706c86a5a0376b6c7d706856`](https://github.com/learningeconomy/LearnCard/commit/1387cd0a08fa6b0a706c86a5a0376b6c7d706856), [`267cf40291b3a63caf178857be0e57feaf5e0948`](https://github.com/learningeconomy/LearnCard/commit/267cf40291b3a63caf178857be0e57feaf5e0948), [`c78c982f9f4911f1ca2973380f19d80db775e012`](https://github.com/learningeconomy/LearnCard/commit/c78c982f9f4911f1ca2973380f19d80db775e012)]:
12
+ - @learncard/types@5.23.0
13
+ - @learncard/init@2.5.2
14
+
3
15
  ## 1.1.258
4
16
 
5
17
  ### Patch Changes
package/cli/Cloning.tsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { useEffect } from 'react';
2
2
  import { Text, Box, useApp } from 'ink';
3
- import simpleGit from 'simple-git';
3
+ import { simpleGit } from 'simple-git';
4
4
  import Gradient from 'ink-gradient';
5
5
  import Spinner from 'ink-spinner';
6
6
 
package/cli/Info.tsx CHANGED
@@ -53,7 +53,7 @@ const Info: React.FC<InfoProps> = ({ path }) => {
53
53
  {!bun && (
54
54
  <Text>
55
55
  <Text color="green">{'$ '}</Text>
56
- <SyntaxHighlight code="npm i -g bun@1.3.14" language="bash" />
56
+ <SyntaxHighlight code="npm i -g bun@1.4.2" language="bash" />
57
57
  </Text>
58
58
  )}
59
59
  <Text>
package/dist/index.js CHANGED
@@ -28,7 +28,6 @@ var figlet__default = /*#__PURE__*/_interopDefaultLegacy(figlet);
28
28
  var produce__default = /*#__PURE__*/_interopDefaultLegacy(produce);
29
29
  var TextInput__default = /*#__PURE__*/_interopDefaultLegacy(TextInput);
30
30
  var crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
31
- var simpleGit__default = /*#__PURE__*/_interopDefaultLegacy(simpleGit);
32
31
  var Spinner__default = /*#__PURE__*/_interopDefaultLegacy(Spinner);
33
32
  var SyntaxHighlight__default = /*#__PURE__*/_interopDefaultLegacy(SyntaxHighlight);
34
33
 
@@ -314,7 +313,7 @@ const Form = ({ state, setState, onSubmit, onCancel }) => {
314
313
  );
315
314
  };
316
315
 
317
- const git = simpleGit__default["default"]();
316
+ const git = simpleGit.simpleGit();
318
317
  const Cloning = ({ path, onFinished }) => {
319
318
  const app = ink.useApp();
320
319
  React.useEffect(() => {
@@ -364,7 +363,7 @@ const Info = ({ path }) => {
364
363
  /* @__PURE__ */ React__default["default"].createElement(ink.Text, null, "Success!"),
365
364
  /* @__PURE__ */ React__default["default"].createElement(ink.Text, null, "Your new Learn Card HTTP Bridge is ready to deploy!"),
366
365
  aws ? /* @__PURE__ */ React__default["default"].createElement(ink.Text, null, "To deploy, run the following commands:") : /* @__PURE__ */ React__default["default"].createElement(React__default["default"].Fragment, null, /* @__PURE__ */ React__default["default"].createElement(ink.Text, null, "It looks like you might not have serverless/AWS set up yet!"), /* @__PURE__ */ React__default["default"].createElement(ink.Text, null, "Please review the instructions at https://www.serverless.com/framework/docs/tutorial if you have any issues deploying the Learn Card HTTP Bridge!"), /* @__PURE__ */ React__default["default"].createElement(ink.Text, null, "After you're all set up, run the following commands to deploy the Learn Card HTTP Bridge!")),
367
- /* @__PURE__ */ React__default["default"].createElement(ink.Box, { borderStyle: "round", flexDirection: "column" }, !bun && /* @__PURE__ */ React__default["default"].createElement(ink.Text, null, /* @__PURE__ */ React__default["default"].createElement(ink.Text, { color: "green" }, "$ "), /* @__PURE__ */ React__default["default"].createElement(SyntaxHighlight__default["default"], { code: "npm i -g bun@1.3.14", language: "bash" })), /* @__PURE__ */ React__default["default"].createElement(ink.Text, null, /* @__PURE__ */ React__default["default"].createElement(ink.Text, { color: "green" }, "$ "), /* @__PURE__ */ React__default["default"].createElement(
366
+ /* @__PURE__ */ React__default["default"].createElement(ink.Box, { borderStyle: "round", flexDirection: "column" }, !bun && /* @__PURE__ */ React__default["default"].createElement(ink.Text, null, /* @__PURE__ */ React__default["default"].createElement(ink.Text, { color: "green" }, "$ "), /* @__PURE__ */ React__default["default"].createElement(SyntaxHighlight__default["default"], { code: "npm i -g bun@1.4.2", language: "bash" })), /* @__PURE__ */ React__default["default"].createElement(ink.Text, null, /* @__PURE__ */ React__default["default"].createElement(ink.Text, { color: "green" }, "$ "), /* @__PURE__ */ React__default["default"].createElement(
368
367
  SyntaxHighlight__default["default"],
369
368
  {
370
369
  code: `cd ${path}/packages/learn-card-bridge-http`,
@@ -416,7 +415,7 @@ const App = ({ name = "LearnCardHTTPBridge" }) => {
416
415
  };
417
416
 
418
417
  var name = "@learncard/create-http-bridge";
419
- var version = "1.1.258";
418
+ var version = "1.1.259";
420
419
  var description = "Instantly create and deploy a Learn Card Bridge HTTP API via AWS Lambda!";
421
420
  var main = "dist/index.js";
422
421
  var bin = "dist/index.js";
@@ -453,7 +452,7 @@ var dependencies = {
453
452
  "serverless-esbuild": "^1.25.0",
454
453
  "serverless-http": "^3.0.1",
455
454
  "serverless-plugin-warmup": "^8.1.0",
456
- "simple-git": "^3.36.0",
455
+ "simple-git": "^4.0.2",
457
456
  "use-immer": "^0.7.0",
458
457
  zod: "4.1.13"
459
458
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@learncard/create-http-bridge",
3
- "version": "1.1.258",
3
+ "version": "1.1.259",
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.1",
18
- "@learncard/types": "5.22.0",
17
+ "@learncard/init": "2.5.2",
18
+ "@learncard/types": "5.23.0",
19
19
  "@rollup/plugin-json": "^4.1.0",
20
20
  "commander": "^9.3.0",
21
21
  "cors": "^2.8.5",
@@ -37,7 +37,7 @@
37
37
  "serverless-esbuild": "^1.25.0",
38
38
  "serverless-http": "^3.0.1",
39
39
  "serverless-plugin-warmup": "^8.1.0",
40
- "simple-git": "^3.36.0",
40
+ "simple-git": "^4.0.2",
41
41
  "use-immer": "^0.7.0",
42
42
  "zod": "4.1.13"
43
43
  },
@@ -1,7 +1,7 @@
1
1
  import { createHash } from 'crypto';
2
2
  import { readFile, writeFile } from 'fs/promises';
3
3
 
4
- const EXPECTED_DIDKIT_SHA256 = 'a817bfa1dacc5b1f426caed9b1ebb9a5b5f80176dc1e061da634755ceb456653';
4
+ const EXPECTED_DIDKIT_SHA256 = 'fe1d254186130480a3ae831fe1b17c58ea732adc39cad16f895aa58e03f1bd62';
5
5
  const sourceUrl = new URL(
6
6
  '../../plugins/didkit/src/didkit/pkg/didkit_wasm_bg.wasm',
7
7
  import.meta.url
Binary file