@sitecore-content-sdk/core 0.2.0-canary.6 → 0.2.0-canary.8

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/content.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Submodule for interacting with XM Cloud Content.
3
+ * Provides methods and utilities to work with XM Cloud Content.
4
+ */
5
+ export * from './types/content/index';
package/content.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/cjs/content/index');
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {};
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; } });
@@ -0,0 +1 @@
1
+ export default {};
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.6",
3
+ "version": "0.2.0-canary.8",
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/form/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"
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 src/content/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": "4ce11b2e66350058dfba252d10945c5c8009d3d8",
80
+ "gitHead": "bca84579b4ffba97c33c8005abcc1a6edcbb26c6",
81
81
  "files": [
82
82
  "dist",
83
83
  "types",
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
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');