@shopickup/adapters-foxpost 0.0.1 → 0.0.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/capabilities/label.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAET,cAAc,EACf,mBAAmB,EAClB,oBAAoB,EAGtB,MAAM,iBAAiB,CAAC;AASzB,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAkEjE;;;;;GAKG;AACH,wBAAsB,WAAW,CAC/B,GAAG,EAAE,yBAAyB,EAC9B,GAAG,EAAE,cAAc,EACnB,cAAc,EAAE,cAAc,GAC7B,OAAO,CAAC,mBAAmB,CAAC,CAkD9B;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,YAAY,CAChC,GAAG,EAAE,0BAA0B,EAC/B,GAAG,EAAE,cAAc,EACnB,cAAc,EAAE,cAAc,GAC7B,OAAO,CAAC,oBAAoB,CAAC,CAqS/B"}
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/capabilities/label.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAET,cAAc,EACf,mBAAmB,EAClB,oBAAoB,EAGtB,MAAM,iBAAiB,CAAC;AASzB,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AA8EjE;;;;;GAKG;AACH,wBAAsB,WAAW,CAC/B,GAAG,EAAE,yBAAyB,EAC9B,GAAG,EAAE,cAAc,EACnB,cAAc,EAAE,cAAc,GAC7B,OAAO,CAAC,mBAAmB,CAAC,CAkD9B;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,YAAY,CAChC,GAAG,EAAE,0BAA0B,EAC/B,GAAG,EAAE,cAAc,EACnB,cAAc,EAAE,cAAc,GAC7B,OAAO,CAAC,oBAAoB,CAAC,CAqS/B"}
@@ -29,6 +29,13 @@ function summarizeBufferLike(value) {
29
29
  note: 'binary payload omitted from rawCarrierResponse',
30
30
  };
31
31
  }
32
+ function summarizeArrayBufferLike(value) {
33
+ return {
34
+ omittedBinary: true,
35
+ byteLength: value.byteLength,
36
+ note: 'binary payload omitted from rawCarrierResponse',
37
+ };
38
+ }
32
39
  function sanitizeRawValue(value, keyHint) {
33
40
  if (typeof value === 'string') {
34
41
  if (keyHint && BLOB_FIELDS.has(keyHint)) {
@@ -39,6 +46,9 @@ function sanitizeRawValue(value, keyHint) {
39
46
  if (Buffer.isBuffer(value) || value instanceof Uint8Array) {
40
47
  return summarizeBufferLike(value);
41
48
  }
49
+ if (value instanceof ArrayBuffer) {
50
+ return summarizeArrayBufferLike(value);
51
+ }
42
52
  if (isSerializedBuffer(value)) {
43
53
  return summarizeBufferLike(value);
44
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopickup/adapters-foxpost",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -43,7 +43,7 @@
43
43
  "codegen": "openapi-typescript ../../carrier-docs/hu-foxpost/hu-foxpost.openapi.yaml --output ./src/types/generated.ts"
44
44
  },
45
45
  "peerDependencies": {
46
- "@shopickup/core": "^0.0.2"
46
+ "@shopickup/core": ">=0.0.2 <0.1.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@shopickup/core": "workspace:*",