@sitecore-content-sdk/core 0.2.0-canary.6 → 0.2.0-canary.7
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/cjs/index.js +3 -1
- package/dist/esm/index.js +2 -0
- package/package.json +3 -3
- package/types/index.d.ts +2 -0
- package/form.d.ts +0 -1
- package/form.js +0 -1
package/dist/cjs/index.js
CHANGED
|
@@ -38,9 +38,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
38
38
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
39
|
};
|
|
40
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
-
exports.defineConfig = exports.constants = exports.NativeDataFetcher = exports.ClientError = exports.MemoryCacheClient = exports.DefaultRetryStrategy = exports.GraphQLRequestClient = exports.enableDebug = exports.debug = void 0;
|
|
41
|
+
exports.defineConfig = exports.form = exports.constants = exports.NativeDataFetcher = exports.ClientError = exports.MemoryCacheClient = exports.DefaultRetryStrategy = exports.GraphQLRequestClient = exports.enableDebug = exports.debug = void 0;
|
|
42
42
|
const constants = __importStar(require("./constants"));
|
|
43
43
|
exports.constants = constants;
|
|
44
|
+
const form = __importStar(require("./form"));
|
|
45
|
+
exports.form = form;
|
|
44
46
|
var debug_1 = require("./debug");
|
|
45
47
|
Object.defineProperty(exports, "debug", { enumerable: true, get: function () { return __importDefault(debug_1).default; } });
|
|
46
48
|
Object.defineProperty(exports, "enableDebug", { enumerable: true, get: function () { return debug_1.enableDebug; } });
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// NOTE: all imports are now named as to not make breaking changes
|
|
2
2
|
// and to keep react-native working with cjs modules.
|
|
3
3
|
import * as constants from './constants';
|
|
4
|
+
import * as form from './form';
|
|
4
5
|
export { default as debug, enableDebug } from './debug';
|
|
5
6
|
export { GraphQLRequestClient, } from './graphql-request-client';
|
|
6
7
|
export { DefaultRetryStrategy } from './retries';
|
|
@@ -8,4 +9,5 @@ export { MemoryCacheClient } from './cache-client';
|
|
|
8
9
|
export { ClientError } from 'graphql-request';
|
|
9
10
|
export { NativeDataFetcher, } from './native-fetcher';
|
|
10
11
|
export { constants };
|
|
12
|
+
export { form };
|
|
11
13
|
export { defineConfig } from './config';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitecore-content-sdk/core",
|
|
3
|
-
"version": "0.2.0-canary.
|
|
3
|
+
"version": "0.2.0-canary.7",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"test": "mocha \"./src/**/*.test.ts\"",
|
|
16
16
|
"prepublishOnly": "npm run build",
|
|
17
17
|
"coverage": "nyc npm test",
|
|
18
|
-
"generate-docs": "npx typedoc --plugin typedoc-plugin-markdown --outputFileStrategy Members --parametersFormat table --readme none --out ../../ref-docs/core --entryPoints src/index.ts --entryPoints src/config/index.ts --entryPoints src/
|
|
18
|
+
"generate-docs": "npx typedoc --plugin typedoc-plugin-markdown --outputFileStrategy Members --parametersFormat table --readme none --out ../../ref-docs/core --entryPoints src/index.ts --entryPoints src/config/index.ts --entryPoints src/client/index.ts --entryPoints src/i18n/index.ts --entryPoints src/layout/index.ts --entryPoints src/media/index.ts --entryPoints src/personalize/index.ts --entryPoints src/site/index.ts --entryPoints src/tracking/index.ts --entryPoints src/utils/index.ts --entryPoints src/editing/index.ts --entryPoints src/tools/index.ts --githubPages false"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=22"
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
},
|
|
78
78
|
"description": "",
|
|
79
79
|
"types": "types/index.d.ts",
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "954a03f05e2849d66f0edcd021c350616c2bc3d8",
|
|
81
81
|
"files": [
|
|
82
82
|
"dist",
|
|
83
83
|
"types",
|
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as constants from './constants';
|
|
2
|
+
import * as form from './form';
|
|
2
3
|
export { default as debug, Debugger, enableDebug } from './debug';
|
|
3
4
|
export { GraphQLClient, GraphQLRequestClient, GraphQLRequestClientConfig, GraphQLRequestClientFactory, GraphQLRequestClientFactoryConfig, } from './graphql-request-client';
|
|
4
5
|
export { DefaultRetryStrategy } from './retries';
|
|
@@ -7,4 +8,5 @@ export { ClientError } from 'graphql-request';
|
|
|
7
8
|
export { NativeDataFetcher, NativeDataFetcherConfig, NativeDataFetcherError, NativeDataFetcherResponse, } from './native-fetcher';
|
|
8
9
|
export { HTMLLink, RetryStrategy, GenericGraphQLClientError, StaticPath } from './models';
|
|
9
10
|
export { constants };
|
|
11
|
+
export { form };
|
|
10
12
|
export { defineConfig } from './config';
|
package/form.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './types/form/index';
|
package/form.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('./dist/cjs/form/index');
|