@learncard/learn-cloud-service 2.5.36 → 2.5.38

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,30 @@
1
1
  # @learncard/network-brain-service
2
2
 
3
+ ## 2.5.38
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`9018e3173393f2ec9645286edd99bb80aa3b2c6c`](https://github.com/learningeconomy/LearnCard/commit/9018e3173393f2ec9645286edd99bb80aa3b2c6c)]:
8
+ - @learncard/types@5.23.1
9
+ - @learncard/core@9.4.39
10
+ - @learncard/helpers@1.6.3
11
+ - @learncard/did-web-plugin@1.1.39
12
+ - @learncard/didkey-plugin@1.1.39
13
+ - @learncard/didkit-plugin@1.10.4
14
+ - @learncard/didkit-plugin-node@0.3.4
15
+ - @learncard/encryption-plugin@1.1.39
16
+ - @learncard/learn-card-plugin@1.2.39
17
+ - @learncard/vc-plugin@1.6.5
18
+ - @learncard/vc-templates-plugin@1.1.39
19
+ - @learncard/crypto-plugin@1.1.39
20
+ - @learncard/expiration-plugin@1.2.39
21
+
22
+ ## 2.5.37
23
+
24
+ ### Patch Changes
25
+
26
+ - [#1711](https://github.com/learningeconomy/LearnCard/pull/1711) [`63ded61d2b1b81ce1c8ad7b9415510da5e4c24ae`](https://github.com/learningeconomy/LearnCard/commit/63ded61d2b1b81ce1c8ad7b9415510da5e4c24ae) Thanks [@goblincore](https://github.com/goblincore)! - Exclude bundled service configuration from published service dependencies so public packages do not require the private service-config workspace package during installation. Keep runtime workspace dependencies for source-based service deployments.
27
+
3
28
  ## 2.5.36
4
29
 
5
30
  ### Patch Changes
package/bundle.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import { writeFileSync } from 'node:fs';
2
+ import { join } from 'node:path';
1
3
  import { build } from 'esbuild';
2
4
  import plugins from './esbuildPlugins.cjs';
3
5
 
@@ -9,6 +11,7 @@ const finalBuildObj = {
9
11
  entryPoints: ['src/index.ts'],
10
12
  platform: 'node',
11
13
  bundle: true,
14
+ metafile: true,
12
15
  format: 'cjs',
13
16
  outdir: 'dist',
14
17
  target: 'node18',
@@ -22,6 +25,11 @@ if (process.env.NODE_ENV !== 'production') {
22
25
  finalBuildObj.minify = false;
23
26
  }
24
27
 
25
- await build(finalBuildObj).then(() => {
28
+ await build(finalBuildObj).then(result => {
29
+ // Publish preparation verifies private helpers are not external runtime imports.
30
+ writeFileSync(
31
+ join(finalBuildObj.outdir, 'publish-metafile.json'),
32
+ JSON.stringify(result.metafile)
33
+ );
26
34
  console.log(`🎁 Done building main bundle! (${Date.now() - startTime}ms)`);
27
35
  });
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/index.js
3
- size: 53503108 bytes
4
- sha256: 03a059be37d9873c94b453813b19e4720e22d5204f11248e83c67578612a4679
3
+ size: 53505368 bytes
4
+ sha256: 24b6a03d127ef6ec8497e7b73a263c0031d6cc6b5b26074804716a2bedee1e87