@stacks/storage 4.3.6-pr.d2656666.0 → 4.3.6-pr.dcbd9e1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacks/storage",
3
- "version": "4.3.6-pr.d2656666.0",
3
+ "version": "4.3.6-pr.dcbd9e1.0",
4
4
  "description": "Stacks storage library",
5
5
  "license": "MIT",
6
6
  "author": "Hiro Systems PBC (https://hiro.so)",
@@ -20,12 +20,12 @@
20
20
  "typecheck:watch": "npm run typecheck -- --watch"
21
21
  },
22
22
  "dependencies": {
23
- "@stacks/auth": "^4.3.6-pr.d2656666.0",
24
- "@stacks/common": "^4.3.6-pr.d2656666.0",
25
- "@stacks/encryption": "^4.3.6-pr.d2656666.0",
26
- "@stacks/network": "^4.3.6-pr.d2656666.0",
23
+ "@stacks/auth": "^4.3.6-pr.dcbd9e1.0",
24
+ "@stacks/common": "^4.3.6-pr.dcbd9e1.0",
25
+ "@stacks/encryption": "^4.3.6-pr.dcbd9e1.0",
26
+ "@stacks/network": "^4.3.6-pr.dcbd9e1.0",
27
27
  "base64-js": "^1.5.1",
28
- "jsontokens": "^4.0.0"
28
+ "jsontokens": "^4.0.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@stacks/network": "^4.1.0",
@@ -38,12 +38,7 @@
38
38
  "process": "^0.11.10",
39
39
  "rimraf": "^3.0.2",
40
40
  "stream-browserify": "^3.0.0",
41
- "ts-jest": "^26.5.5",
42
- "ts-loader": "^9.1.1",
43
- "typescript": "^4.2.4",
44
- "webpack": "^5.36.1",
45
- "webpack-bundle-analyzer": "^4.5.0",
46
- "webpack-cli": "^4.6.0"
41
+ "ts-jest": "^26.5.5"
47
42
  },
48
43
  "sideEffects": false,
49
44
  "typings": "dist/index.d.ts",
@@ -65,5 +60,5 @@
65
60
  "bugs": {
66
61
  "url": "https://github.com/blockstack/blockstack.js/issues"
67
62
  },
68
- "gitHead": "d2656666f873742e2d8a8396e5fba97dd238e24b"
63
+ "gitHead": "dcbd9e1e669fd30121d4b5ad18383de26cc4103f"
69
64
  }
@@ -23,7 +23,7 @@ export class FileContentLoader {
23
23
 
24
24
  static readonly supportedTypesMsg =
25
25
  'Supported types are: `string` (to be UTF8 encoded), ' +
26
- '`Uint8Array`, `Blob`, `File`, `ArrayBuffer`, `UInt8Array` or any other typed array buffer. ';
26
+ '`Blob`, `File`, `ArrayBuffer`, `UInt8Array` or any other typed array buffer. ';
27
27
 
28
28
  constructor(content: PutFileContent, contentType: string) {
29
29
  this.wasString = typeof content === 'string';
@@ -115,10 +115,9 @@ export class FileContentLoader {
115
115
  return this.content;
116
116
  } else if (ArrayBuffer.isView(this.content)) {
117
117
  return new Uint8Array(
118
- this.content.buffer.slice(
119
- this.content.byteOffset,
120
- this.content.byteOffset + this.content.byteLength
121
- )
118
+ this.content.buffer,
119
+ this.content.byteOffset,
120
+ this.content.byteLength
122
121
  );
123
122
  } else if (typeof Blob !== 'undefined' && this.content instanceof Blob) {
124
123
  const reader = new FileReader();