@blackwell-systems/gcf 2.0.1 → 2.0.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.
@@ -0,0 +1,10 @@
1
+ export type { Symbol, Edge, Payload, DeltaPayload, Components } from './types.js';
2
+ export { KIND_ABBREV, KIND_EXPAND } from './constants.js';
3
+ export { encode } from './encode.js';
4
+ export { decode } from './decode.js';
5
+ export { encodeGeneric } from './generic.js';
6
+ export { decodeGeneric } from './decode_generic.js';
7
+ export { formatScalar, formatKey, parseScalar, needsQuote, quoteString } from './scalar.js';
8
+ export { StreamEncoder, type StreamWriter, type StreamOptions } from './stream.js';
9
+ export { GenericStreamEncoder } from './stream_generic.js';
10
+ //# sourceMappingURL=browser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export { KIND_ABBREV, KIND_EXPAND } from './constants.js';
2
+ export { encode } from './encode.js';
3
+ export { decode } from './decode.js';
4
+ export { encodeGeneric } from './generic.js';
5
+ export { decodeGeneric } from './decode_generic.js';
6
+ export { formatScalar, formatKey, parseScalar, needsQuote, quoteString } from './scalar.js';
7
+ export { StreamEncoder } from './stream.js';
8
+ export { GenericStreamEncoder } from './stream_generic.js';
9
+ //# sourceMappingURL=browser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAyC,MAAM,aAAa,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blackwell-systems/gcf",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Drop-in JSON replacement for AI pipelines. 79% fewer tokens. 90.7% comprehension across 10 models. Zero dependencies.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -8,9 +8,15 @@
8
8
  "exports": {
9
9
  ".": {
10
10
  "types": "./dist/index.d.ts",
11
+ "browser": "./dist/browser.js",
11
12
  "import": "./dist/index.js"
13
+ },
14
+ "./browser": {
15
+ "types": "./dist/browser.d.ts",
16
+ "import": "./dist/browser.js"
12
17
  }
13
18
  },
19
+ "browser": "./dist/browser.js",
14
20
  "bin": {
15
21
  "gcf": "./dist/cli.js"
16
22
  },
package/src/browser.ts ADDED
@@ -0,0 +1,10 @@
1
+ // Browser-safe entry point. Excludes Node-only modules (packroot, delta).
2
+ export type { Symbol, Edge, Payload, DeltaPayload, Components } from './types.js';
3
+ export { KIND_ABBREV, KIND_EXPAND } from './constants.js';
4
+ export { encode } from './encode.js';
5
+ export { decode } from './decode.js';
6
+ export { encodeGeneric } from './generic.js';
7
+ export { decodeGeneric } from './decode_generic.js';
8
+ export { formatScalar, formatKey, parseScalar, needsQuote, quoteString } from './scalar.js';
9
+ export { StreamEncoder, type StreamWriter, type StreamOptions } from './stream.js';
10
+ export { GenericStreamEncoder } from './stream_generic.js';