@azure/core-client 1.3.1-alpha.20210823.2 → 1.3.1

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +3 -7
  2. package/package.json +9 -6
package/CHANGELOG.md CHANGED
@@ -1,15 +1,11 @@
1
1
  # Release History
2
2
 
3
- ## 1.3.1 (Unreleased)
4
-
5
- ### Features Added
6
-
7
- ### Breaking Changes
8
-
9
- ### Bugs Fixed
3
+ ## 1.3.1 (2021-09-30)
10
4
 
11
5
  ### Other Changes
12
6
 
7
+ - Updates package to work with the react native bundler. Browser APIs may still need to be pollyfilled for this package to run in react native. [PR #17783](https://github.com/Azure/azure-sdk-for-js/pull/17783)
8
+
13
9
  ## 1.3.0 (2021-08-04)
14
10
 
15
11
  ### Features Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/core-client",
3
- "version": "1.3.1-alpha.20210823.2",
3
+ "version": "1.3.1",
4
4
  "description": "Core library for interfacing with AutoRest generated code",
5
5
  "sdk-type": "client",
6
6
  "main": "dist/index.js",
@@ -8,6 +8,9 @@
8
8
  "browser": {
9
9
  "./dist-esm/src/base64.js": "./dist-esm/src/base64.browser.js"
10
10
  },
11
+ "react-native": {
12
+ "./dist/index.js": "./dist-esm/src/index.js"
13
+ },
11
14
  "types": "types/latest/core-client.d.ts",
12
15
  "typesVersions": {
13
16
  "<3.6": {
@@ -21,7 +24,7 @@
21
24
  "build:samples": "echo Obsolete",
22
25
  "build:test": "tsc -p . && rollup -c 2>&1",
23
26
  "build:types": "downlevel-dts types/latest/ types/3.1/",
24
- "build": "tsc -p . && rollup -c 2>&1 && api-extractor run --local && npm run build:types",
27
+ "build": "npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local && npm run build:types",
25
28
  "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
26
29
  "clean": "rimraf dist dist-* temp types *.tgz *.log",
27
30
  "docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src",
@@ -34,7 +37,6 @@
34
37
  "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]",
35
38
  "lint": "eslint package.json api-extractor.json src test --ext .ts",
36
39
  "pack": "npm pack 2>&1",
37
- "prebuild": "npm run clean",
38
40
  "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
39
41
  "test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node",
40
42
  "test": "npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test",
@@ -76,13 +78,13 @@
76
78
  },
77
79
  "devDependencies": {
78
80
  "@azure/core-xml": "^1.0.0",
79
- "@microsoft/api-extractor": "7.7.11",
81
+ "@microsoft/api-extractor": "^7.18.11",
80
82
  "@types/chai": "^4.1.6",
81
83
  "@types/mocha": "^7.0.2",
82
84
  "@types/node": "^12.0.0",
83
85
  "@types/sinon": "^9.0.4",
84
- "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
85
- "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
86
+ "@azure/eslint-plugin-azure-sdk": "^3.0.0",
87
+ "@azure/dev-tool": "^1.0.0",
86
88
  "chai": "^4.2.0",
87
89
  "downlevel-dts": "~0.4.0",
88
90
  "cross-env": "^7.0.2",
@@ -105,6 +107,7 @@
105
107
  "rimraf": "^3.0.0",
106
108
  "rollup": "^1.16.3",
107
109
  "sinon": "^9.0.2",
110
+ "ts-node": "^10.0.0",
108
111
  "typescript": "~4.2.0",
109
112
  "util": "^0.12.1",
110
113
  "typedoc": "0.15.2"