@aws-amplify/api 6.0.1-api-v6-models.8035dfc.0 → 6.0.1-api-v6-models.3eb7748.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/lib/internals/InternalAPI.d.ts +1 -1
- package/lib/internals/InternalAPI.js +1 -1
- package/lib/internals/InternalAPI.js.map +1 -1
- package/lib-esm/internals/InternalAPI.d.ts +1 -1
- package/lib-esm/internals/InternalAPI.js +3 -3
- package/lib-esm/internals/InternalAPI.js.map +1 -1
- package/package.json +4 -4
- package/src/internals/InternalAPI.ts +2 -3
|
@@ -13,7 +13,7 @@ export declare class InternalAPIClass {
|
|
|
13
13
|
*/
|
|
14
14
|
private _options;
|
|
15
15
|
private _graphqlApi;
|
|
16
|
-
Cache: import("@aws-amplify/core/lib-esm/Cache/
|
|
16
|
+
Cache: import("@aws-amplify/core/lib-esm/Cache/StorageCache").StorageCache;
|
|
17
17
|
/**
|
|
18
18
|
* Initialize API with AWS configuration
|
|
19
19
|
* @param {Object} options - Configuration object for API
|
|
@@ -12,7 +12,7 @@ var utils_1 = require("@aws-amplify/core/internals/utils");
|
|
|
12
12
|
* This can probably be pruned and/or removed. Just leaving it as much of the same
|
|
13
13
|
* state as possible for V6 to reduce number of potentially impactful changes to DataStore.
|
|
14
14
|
*/
|
|
15
|
-
var logger = new
|
|
15
|
+
var logger = new core_1.ConsoleLogger('API');
|
|
16
16
|
/**
|
|
17
17
|
* @deprecated
|
|
18
18
|
* Use RestApi or GraphQLAPI to reduce your application bundle size
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InternalAPI.js","sourceRoot":"","sources":["../../src/internals/InternalAPI.ts"],"names":[],"mappings":";;;AAWA,gEAA6E;AAC7E,
|
|
1
|
+
{"version":3,"file":"InternalAPI.js","sourceRoot":"","sources":["../../src/internals/InternalAPI.ts"],"names":[],"mappings":";;;AAWA,gEAA6E;AAC7E,0CAAkE;AAClE,2DAI2C;AAG3C;;;;;;;GAOG;AAEH,IAAM,MAAM,GAAG,IAAI,oBAAa,CAAC,KAAK,CAAC,CAAC;AACxC;;;;GAIG;AACH;IAUC;;;OAGG;IACH,0BAAY,OAAO;QANnB,UAAK,GAAG,YAAK,CAAC;QAOb,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,IAAI,mCAAuB,CAAC,OAAO,CAAC,CAAC;QACxD,MAAM,CAAC,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAEM,wCAAa,GAApB;QACC,OAAO,aAAa,CAAC;IACtB,CAAC;IAED;;;OAGG;IACH,kDAAuB,GAAvB,UAAwB,SAA2B;QAClD,OAAO,IAAI,CAAC,WAAW,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;IAC5D,CAAC;IAqBD,kCAAO,GAAP,UACC,OAAuB,EACvB,iBAA6C,EAC7C,sBAA+C;QAE/C,IAAM,mBAAmB,sBACxB,QAAQ,EAAE,gBAAQ,CAAC,GAAG,EACtB,MAAM,EAAE,iBAAS,CAAC,OAAO,IACtB,sBAAsB,CACzB,CAAC;QAEF,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAC9B,cAAO,EACP,OAAO,EACP,iBAAiB,EACjB,mBAAmB,CACnB,CAAC;IACH,CAAC;IACF,uBAAC;AAAD,CAAC,AArED,IAqEC;AArEY,4CAAgB;AAuEhB,QAAA,WAAW,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -13,7 +13,7 @@ export declare class InternalAPIClass {
|
|
|
13
13
|
*/
|
|
14
14
|
private _options;
|
|
15
15
|
private _graphqlApi;
|
|
16
|
-
Cache: import("@aws-amplify/core/lib-esm/Cache/
|
|
16
|
+
Cache: import("@aws-amplify/core/lib-esm/Cache/StorageCache").StorageCache;
|
|
17
17
|
/**
|
|
18
18
|
* Initialize API with AWS configuration
|
|
19
19
|
* @param {Object} options - Configuration object for API
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { InternalGraphQLAPIClass } from '@aws-amplify/api-graphql/internals';
|
|
3
|
-
import { Amplify, Cache } from '@aws-amplify/core';
|
|
4
|
-
import { ApiAction, Category,
|
|
3
|
+
import { Amplify, Cache, ConsoleLogger } from '@aws-amplify/core';
|
|
4
|
+
import { ApiAction, Category, } from '@aws-amplify/core/internals/utils';
|
|
5
5
|
/**
|
|
6
6
|
* NOTE!
|
|
7
7
|
*
|
|
@@ -10,7 +10,7 @@ import { ApiAction, Category, ConsoleLogger as Logger, } from '@aws-amplify/core
|
|
|
10
10
|
* This can probably be pruned and/or removed. Just leaving it as much of the same
|
|
11
11
|
* state as possible for V6 to reduce number of potentially impactful changes to DataStore.
|
|
12
12
|
*/
|
|
13
|
-
var logger = new
|
|
13
|
+
var logger = new ConsoleLogger('API');
|
|
14
14
|
/**
|
|
15
15
|
* @deprecated
|
|
16
16
|
* Use RestApi or GraphQLAPI to reduce your application bundle size
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InternalAPI.js","sourceRoot":"","sources":["../../src/internals/InternalAPI.ts"],"names":[],"mappings":";AAWA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"InternalAPI.js","sourceRoot":"","sources":["../../src/internals/InternalAPI.ts"],"names":[],"mappings":";AAWA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EACN,SAAS,EACT,QAAQ,GAER,MAAM,mCAAmC,CAAC;AAG3C;;;;;;;GAOG;AAEH,IAAM,MAAM,GAAG,IAAI,aAAa,CAAC,KAAK,CAAC,CAAC;AACxC;;;;GAIG;AACH;IAUC;;;OAGG;IACH,0BAAY,OAAO;QANnB,UAAK,GAAG,KAAK,CAAC;QAOb,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,IAAI,uBAAuB,CAAC,OAAO,CAAC,CAAC;QACxD,MAAM,CAAC,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAEM,wCAAa,GAApB;QACC,OAAO,aAAa,CAAC;IACtB,CAAC;IAED;;;OAGG;IACH,kDAAuB,GAAvB,UAAwB,SAA2B;QAClD,OAAO,IAAI,CAAC,WAAW,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;IAC5D,CAAC;IAqBD,kCAAO,GAAP,UACC,OAAuB,EACvB,iBAA6C,EAC7C,sBAA+C;QAE/C,IAAM,mBAAmB,cACxB,QAAQ,EAAE,QAAQ,CAAC,GAAG,EACtB,MAAM,EAAE,SAAS,CAAC,OAAO,IACtB,sBAAsB,CACzB,CAAC;QAEF,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAC9B,OAAO,EACP,OAAO,EACP,iBAAiB,EACjB,mBAAmB,CACnB,CAAC;IACH,CAAC;IACF,uBAAC;AAAD,CAAC,AArED,IAqEC;;AAED,MAAM,CAAC,IAAM,WAAW,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/api",
|
|
3
|
-
"version": "6.0.1-api-v6-models.
|
|
3
|
+
"version": "6.0.1-api-v6-models.3eb7748.0+3eb7748",
|
|
4
4
|
"description": "Api category of aws-amplify",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib-esm/index.js",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"server"
|
|
59
59
|
],
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@aws-amplify/api-graphql": "4.0.1-api-v6-models.
|
|
62
|
-
"@aws-amplify/api-rest": "4.0.1-api-v6-models.
|
|
61
|
+
"@aws-amplify/api-graphql": "4.0.1-api-v6-models.3eb7748.0+3eb7748",
|
|
62
|
+
"@aws-amplify/api-rest": "4.0.1-api-v6-models.3eb7748.0+3eb7748",
|
|
63
63
|
"tslib": "^2.6.1"
|
|
64
64
|
},
|
|
65
65
|
"jest": {
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"lib-esm"
|
|
107
107
|
]
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "3eb7748aee2fcdea705c93904d1f30ff596649fa"
|
|
110
110
|
}
|
|
@@ -10,11 +10,10 @@ import {
|
|
|
10
10
|
GraphQLSubscription,
|
|
11
11
|
} from '@aws-amplify/api-graphql';
|
|
12
12
|
import { InternalGraphQLAPIClass } from '@aws-amplify/api-graphql/internals';
|
|
13
|
-
import { Amplify, Cache } from '@aws-amplify/core';
|
|
13
|
+
import { Amplify, Cache, ConsoleLogger } from '@aws-amplify/core';
|
|
14
14
|
import {
|
|
15
15
|
ApiAction,
|
|
16
16
|
Category,
|
|
17
|
-
ConsoleLogger as Logger,
|
|
18
17
|
CustomUserAgentDetails,
|
|
19
18
|
} from '@aws-amplify/core/internals/utils';
|
|
20
19
|
import { Observable } from 'rxjs';
|
|
@@ -28,7 +27,7 @@ import { Observable } from 'rxjs';
|
|
|
28
27
|
* state as possible for V6 to reduce number of potentially impactful changes to DataStore.
|
|
29
28
|
*/
|
|
30
29
|
|
|
31
|
-
const logger = new
|
|
30
|
+
const logger = new ConsoleLogger('API');
|
|
32
31
|
/**
|
|
33
32
|
* @deprecated
|
|
34
33
|
* Use RestApi or GraphQLAPI to reduce your application bundle size
|