@strapi/provider-upload-aws-s3 0.0.0-next.fb3a0b82484ce466b1efb1b28f16fc8ef73aba4a → 0.0.0-next.fd9757603c653ca239c45d6e28ab536d2dae0b39

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/dist/utils.d.ts CHANGED
@@ -1 +1,5 @@
1
+ import type { AwsCredentialIdentity } from '@aws-sdk/types';
2
+ import type { InitOptions } from '.';
1
3
  export declare function isUrlFromBucket(fileUrl: string, bucketName: string, baseUrl?: string): boolean;
4
+ export declare const extractCredentials: (options: InitOptions) => AwsCredentialIdentity | null;
5
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAC;AASrC,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,SAAK,GAAG,OAAO,CAoB1F;AA6DD,eAAO,MAAM,kBAAkB,YAAa,WAAW,KAAG,qBAAqB,GAAG,IA0BjF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/provider-upload-aws-s3",
3
- "version": "0.0.0-next.fb3a0b82484ce466b1efb1b28f16fc8ef73aba4a",
3
+ "version": "0.0.0-next.fd9757603c653ca239c45d6e28ab536d2dae0b39",
4
4
  "description": "AWS S3 provider for strapi upload",
5
5
  "keywords": [
6
6
  "upload",
@@ -40,24 +40,26 @@
40
40
  "build": "pack-up build",
41
41
  "clean": "run -T rimraf ./dist",
42
42
  "lint": "run -T eslint .",
43
- "prepublishOnly": "yarn clean && yarn build",
44
43
  "test:unit": "run -T jest",
45
44
  "test:unit:watch": "run -T jest --watch",
46
45
  "watch": "pack-up watch"
47
46
  },
48
47
  "dependencies": {
49
- "aws-sdk": "2.1472.0",
48
+ "@aws-sdk/client-s3": "3.600.0",
49
+ "@aws-sdk/lib-storage": "3.433.0",
50
+ "@aws-sdk/s3-request-presigner": "3.433.0",
51
+ "@aws-sdk/types": "3.433.0",
50
52
  "lodash": "4.17.21"
51
53
  },
52
54
  "devDependencies": {
53
- "@strapi/pack-up": "0.0.0-next.fb3a0b82484ce466b1efb1b28f16fc8ef73aba4a",
55
+ "@strapi/pack-up": "4.23.0",
54
56
  "@types/jest": "29.5.2",
55
- "eslint-config-custom": "0.0.0-next.fb3a0b82484ce466b1efb1b28f16fc8ef73aba4a",
56
- "tsconfig": "0.0.0-next.fb3a0b82484ce466b1efb1b28f16fc8ef73aba4a"
57
+ "eslint-config-custom": "0.0.0-next.fd9757603c653ca239c45d6e28ab536d2dae0b39",
58
+ "tsconfig": "0.0.0-next.fd9757603c653ca239c45d6e28ab536d2dae0b39"
57
59
  },
58
60
  "engines": {
59
- "node": ">=16.0.0 <=20.x.x",
61
+ "node": ">=18.0.0 <=20.x.x",
60
62
  "npm": ">=6.0.0"
61
63
  },
62
- "gitHead": "fb3a0b82484ce466b1efb1b28f16fc8ef73aba4a"
64
+ "gitHead": "fd9757603c653ca239c45d6e28ab536d2dae0b39"
63
65
  }