next-cloudinary 7.0.0-beta.4 → 7.0.0-beta.6
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/README.md +1 -0
- package/dist/{CldImage-ee84a50c.cjs.js → CldImage-5499491b.cjs.js} +5 -35
- package/dist/{CldImage-6cada7b1.esm.js → CldImage-ca122eb3.esm.js} +6 -36
- package/dist/CldUploadButton-196b419b.esm.js +1 -1
- package/dist/CldUploadButton-db9b095b.cjs.js +1 -1
- package/dist/{CldUploadWidget-e4bba6fd.cjs.js → CldUploadWidget-4ed02ca2.cjs.js} +1 -1
- package/dist/{CldUploadWidget-ad9e977a.esm.js → CldUploadWidget-e20936ff.esm.js} +1 -1
- package/dist/{CldVideoPlayer-0612b757.cjs.js → CldVideoPlayer-0148d38a.cjs.js} +1 -1
- package/dist/{CldVideoPlayer-e4b7babc.esm.js → CldVideoPlayer-6f274d98.esm.js} +1 -1
- package/dist/{cloudinary-e2b6966d.cjs.js → cloudinary-0ed42370.cjs.js} +4 -4
- package/dist/{cloudinary-4e704764.esm.js → cloudinary-a06f445a.esm.js} +4 -4
- package/dist/{cloudinary-loader-6ba37e36.esm.js → cloudinary-loader-34d35ba3.esm.js} +1 -1
- package/dist/{cloudinary-loader-8cbd9bdd.cjs.js → cloudinary-loader-701d6a88.cjs.js} +1 -1
- package/dist/declarations/src/components/CldImage/CldImage.d.ts.map +1 -1
- package/dist/next-cloudinary.cjs.js +5 -5
- package/dist/next-cloudinary.esm.js +6 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -204,6 +204,7 @@ pnpm test
|
|
|
204
204
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/DevRish"><img src="https://avatars.githubusercontent.com/u/78094670?v=4?s=100" width="100px;" alt="Rishav Chattopadhyay"/><br /><sub><b>Rishav Chattopadhyay</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=DevRish" title="Documentation">📖</a></td>
|
|
205
205
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Prathamesh010"><img src="https://avatars.githubusercontent.com/u/41731424?v=4?s=100" width="100px;" alt="Prathamesh Gawas"/><br /><sub><b>Prathamesh Gawas</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=Prathamesh010" title="Documentation">📖</a></td>
|
|
206
206
|
<td align="center" valign="top" width="14.28%"><a href="https://victory-nwani.dev"><img src="https://avatars.githubusercontent.com/u/29664439?v=4?s=100" width="100px;" alt="Nwani Victory"/><br /><sub><b>Nwani Victory</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=vickywane" title="Documentation">📖</a></td>
|
|
207
|
+
<td align="center" valign="top" width="14.28%"><a href="http://neilblaze.live"><img src="https://avatars.githubusercontent.com/u/48355572?v=4?s=100" width="100px;" alt="Pratyay Banerjee"/><br /><sub><b>Pratyay Banerjee</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=Neilblaze" title="Documentation">📖</a></td>
|
|
207
208
|
</tr>
|
|
208
209
|
</tbody>
|
|
209
210
|
</table>
|
|
@@ -7,9 +7,9 @@ var react = require('react');
|
|
|
7
7
|
var Image = require('next/image');
|
|
8
8
|
var util = require('@cloudinary-util/util');
|
|
9
9
|
var urlLoader = require('@cloudinary-util/url-loader');
|
|
10
|
-
var cloudinaryLoader = require('./cloudinary-loader-
|
|
10
|
+
var cloudinaryLoader = require('./cloudinary-loader-701d6a88.cjs.js');
|
|
11
11
|
var jsxRuntime = require('react/jsx-runtime');
|
|
12
|
-
require('./cloudinary-
|
|
12
|
+
require('./cloudinary-0ed42370.cjs.js');
|
|
13
13
|
require('next/package.json');
|
|
14
14
|
|
|
15
15
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -23,26 +23,7 @@ const CldImage = /*#__PURE__*/react.forwardRef(function CldImage(props, ref) {
|
|
|
23
23
|
// Cloudinary URL construction to avoid them being forwarded
|
|
24
24
|
// to the DOM
|
|
25
25
|
|
|
26
|
-
const CLD_OPTIONS = ['assetType', 'config', 'deliveryType', 'strictTransformations'];
|
|
27
|
-
|
|
28
|
-
// Loop through all of the props available on the transformation plugins and verify
|
|
29
|
-
// that we're not accientally applying the same prop twice
|
|
30
|
-
|
|
31
|
-
// We're also using those props to push into CLD_OPTIONS which helps us filter what
|
|
32
|
-
// props are applied to the underlaying Image component vs what's being sent
|
|
33
|
-
// to Cloudinary URL construction
|
|
34
|
-
|
|
35
|
-
urlLoader.transformationPlugins.forEach(({
|
|
36
|
-
props
|
|
37
|
-
}) => {
|
|
38
|
-
const pluginProps = Object.keys(props);
|
|
39
|
-
pluginProps.forEach(prop => {
|
|
40
|
-
if (CLD_OPTIONS.includes(prop)) {
|
|
41
|
-
throw new Error(`Option ${prop} already exists!`);
|
|
42
|
-
}
|
|
43
|
-
CLD_OPTIONS.push(prop);
|
|
44
|
-
});
|
|
45
|
-
});
|
|
26
|
+
const CLD_OPTIONS = ['assetType', 'config', 'deliveryType', 'strictTransformations', ...urlLoader.cloudinaryPluginKeys];
|
|
46
27
|
|
|
47
28
|
// Construct the base Image component props by filtering out Cloudinary-specific props
|
|
48
29
|
|
|
@@ -54,17 +35,6 @@ const CldImage = /*#__PURE__*/react.forwardRef(function CldImage(props, ref) {
|
|
|
54
35
|
const defaultImgKey = Object.keys(imageProps).map(key => `${key}:${imageProps[key]}`).join(';');
|
|
55
36
|
const [imgKey, setImgKey] = react.useState(defaultImgKey);
|
|
56
37
|
|
|
57
|
-
// Construct Cloudinary-specific props by looking for values for any of the supported prop keys
|
|
58
|
-
|
|
59
|
-
const cldOptions = {};
|
|
60
|
-
CLD_OPTIONS.forEach(key => {
|
|
61
|
-
const prop = props[key];
|
|
62
|
-
if (prop) {
|
|
63
|
-
// @ts-expect-error
|
|
64
|
-
cldOptions[key] = prop;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
|
|
68
38
|
// The unoptimized flag is intended to remove all optimizations including quality, format, and sizing
|
|
69
39
|
// via responsive sizing. When passing this in, it also prevents the `loader` from running, thus
|
|
70
40
|
// breaking this component. This rewrites the `src` to construct a fully formed Cloudinary URL
|
|
@@ -74,7 +44,7 @@ const CldImage = /*#__PURE__*/react.forwardRef(function CldImage(props, ref) {
|
|
|
74
44
|
const IMAGE_OPTIONS = process.env.__NEXT_IMAGE_OPTS || {};
|
|
75
45
|
if (props.unoptimized === true || IMAGE_OPTIONS?.unoptimized === true) {
|
|
76
46
|
imageProps.src = cloudinaryLoader.getCldImageUrl({
|
|
77
|
-
...
|
|
47
|
+
...props,
|
|
78
48
|
width: imageProps.width,
|
|
79
49
|
height: imageProps.height,
|
|
80
50
|
src: imageProps.src,
|
|
@@ -138,7 +108,7 @@ const CldImage = /*#__PURE__*/react.forwardRef(function CldImage(props, ref) {
|
|
|
138
108
|
loader: loaderOptions => cloudinaryLoader.cloudinaryLoader({
|
|
139
109
|
loaderOptions,
|
|
140
110
|
imageProps,
|
|
141
|
-
cldOptions,
|
|
111
|
+
cldOptions: props,
|
|
142
112
|
cldConfig: props.config
|
|
143
113
|
}),
|
|
144
114
|
onError: handleOnError,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { forwardRef, useState, useCallback } from 'react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
4
|
import { pollForProcessingImage } from '@cloudinary-util/util';
|
|
5
|
-
import {
|
|
6
|
-
import { g as getCldImageUrl, c as cloudinaryLoader } from './cloudinary-loader-
|
|
5
|
+
import { cloudinaryPluginKeys } from '@cloudinary-util/url-loader';
|
|
6
|
+
import { g as getCldImageUrl, c as cloudinaryLoader } from './cloudinary-loader-34d35ba3.esm.js';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
|
-
import './cloudinary-
|
|
8
|
+
import './cloudinary-a06f445a.esm.js';
|
|
9
9
|
import 'next/package.json';
|
|
10
10
|
|
|
11
11
|
const CldImage = /*#__PURE__*/forwardRef(function CldImage(props, ref) {
|
|
@@ -15,26 +15,7 @@ const CldImage = /*#__PURE__*/forwardRef(function CldImage(props, ref) {
|
|
|
15
15
|
// Cloudinary URL construction to avoid them being forwarded
|
|
16
16
|
// to the DOM
|
|
17
17
|
|
|
18
|
-
const CLD_OPTIONS = ['assetType', 'config', 'deliveryType', 'strictTransformations'];
|
|
19
|
-
|
|
20
|
-
// Loop through all of the props available on the transformation plugins and verify
|
|
21
|
-
// that we're not accientally applying the same prop twice
|
|
22
|
-
|
|
23
|
-
// We're also using those props to push into CLD_OPTIONS which helps us filter what
|
|
24
|
-
// props are applied to the underlaying Image component vs what's being sent
|
|
25
|
-
// to Cloudinary URL construction
|
|
26
|
-
|
|
27
|
-
transformationPlugins.forEach(({
|
|
28
|
-
props
|
|
29
|
-
}) => {
|
|
30
|
-
const pluginProps = Object.keys(props);
|
|
31
|
-
pluginProps.forEach(prop => {
|
|
32
|
-
if (CLD_OPTIONS.includes(prop)) {
|
|
33
|
-
throw new Error(`Option ${prop} already exists!`);
|
|
34
|
-
}
|
|
35
|
-
CLD_OPTIONS.push(prop);
|
|
36
|
-
});
|
|
37
|
-
});
|
|
18
|
+
const CLD_OPTIONS = ['assetType', 'config', 'deliveryType', 'strictTransformations', ...cloudinaryPluginKeys];
|
|
38
19
|
|
|
39
20
|
// Construct the base Image component props by filtering out Cloudinary-specific props
|
|
40
21
|
|
|
@@ -46,17 +27,6 @@ const CldImage = /*#__PURE__*/forwardRef(function CldImage(props, ref) {
|
|
|
46
27
|
const defaultImgKey = Object.keys(imageProps).map(key => `${key}:${imageProps[key]}`).join(';');
|
|
47
28
|
const [imgKey, setImgKey] = useState(defaultImgKey);
|
|
48
29
|
|
|
49
|
-
// Construct Cloudinary-specific props by looking for values for any of the supported prop keys
|
|
50
|
-
|
|
51
|
-
const cldOptions = {};
|
|
52
|
-
CLD_OPTIONS.forEach(key => {
|
|
53
|
-
const prop = props[key];
|
|
54
|
-
if (prop) {
|
|
55
|
-
// @ts-expect-error
|
|
56
|
-
cldOptions[key] = prop;
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
|
|
60
30
|
// The unoptimized flag is intended to remove all optimizations including quality, format, and sizing
|
|
61
31
|
// via responsive sizing. When passing this in, it also prevents the `loader` from running, thus
|
|
62
32
|
// breaking this component. This rewrites the `src` to construct a fully formed Cloudinary URL
|
|
@@ -66,7 +36,7 @@ const CldImage = /*#__PURE__*/forwardRef(function CldImage(props, ref) {
|
|
|
66
36
|
const IMAGE_OPTIONS = process.env.__NEXT_IMAGE_OPTS || {};
|
|
67
37
|
if (props.unoptimized === true || IMAGE_OPTIONS?.unoptimized === true) {
|
|
68
38
|
imageProps.src = getCldImageUrl({
|
|
69
|
-
...
|
|
39
|
+
...props,
|
|
70
40
|
width: imageProps.width,
|
|
71
41
|
height: imageProps.height,
|
|
72
42
|
src: imageProps.src,
|
|
@@ -130,7 +100,7 @@ const CldImage = /*#__PURE__*/forwardRef(function CldImage(props, ref) {
|
|
|
130
100
|
loader: loaderOptions => cloudinaryLoader({
|
|
131
101
|
loaderOptions,
|
|
132
102
|
imageProps,
|
|
133
|
-
cldOptions,
|
|
103
|
+
cldOptions: props,
|
|
134
104
|
cldConfig: props.config
|
|
135
105
|
}),
|
|
136
106
|
onError: handleOnError,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
require('react');
|
|
7
|
-
var CldUploadWidget = require('./CldUploadWidget-
|
|
7
|
+
var CldUploadWidget = require('./CldUploadWidget-4ed02ca2.cjs.js');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
|
|
10
10
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var Script = require('next/script');
|
|
8
8
|
var urlLoader = require('@cloudinary-util/url-loader');
|
|
9
|
-
var cloudinary = require('./cloudinary-
|
|
9
|
+
var cloudinary = require('./cloudinary-0ed42370.cjs.js');
|
|
10
10
|
var jsxRuntime = require('react/jsx-runtime');
|
|
11
11
|
require('next/package.json');
|
|
12
12
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import Script from 'next/script';
|
|
4
4
|
import { generateSignatureCallback, getUploadWidgetOptions, generateUploadWidgetResultCallback, UPLOAD_WIDGET_EVENTS } from '@cloudinary-util/url-loader';
|
|
5
|
-
import { g as getCloudinaryConfig } from './cloudinary-
|
|
5
|
+
import { g as getCloudinaryConfig } from './cloudinary-a06f445a.esm.js';
|
|
6
6
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
7
7
|
import 'next/package.json';
|
|
8
8
|
|
|
@@ -7,7 +7,7 @@ var react = require('react');
|
|
|
7
7
|
var Script = require('next/script');
|
|
8
8
|
var Head = require('next/head');
|
|
9
9
|
var urlLoader = require('@cloudinary-util/url-loader');
|
|
10
|
-
var cloudinary = require('./cloudinary-
|
|
10
|
+
var cloudinary = require('./cloudinary-0ed42370.cjs.js');
|
|
11
11
|
var jsxRuntime = require('react/jsx-runtime');
|
|
12
12
|
require('next/package.json');
|
|
13
13
|
|
|
@@ -3,7 +3,7 @@ import { useId, useRef, useEffect } from 'react';
|
|
|
3
3
|
import Script from 'next/script';
|
|
4
4
|
import Head from 'next/head';
|
|
5
5
|
import { getVideoPlayerOptions } from '@cloudinary-util/url-loader';
|
|
6
|
-
import { g as getCloudinaryConfig } from './cloudinary-
|
|
6
|
+
import { g as getCloudinaryConfig } from './cloudinary-a06f445a.esm.js';
|
|
7
7
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
8
8
|
import 'next/package.json';
|
|
9
9
|
|
|
@@ -8,7 +8,7 @@ var nextPkg__default = /*#__PURE__*/_interopDefault(nextPkg);
|
|
|
8
8
|
|
|
9
9
|
var pkg = {
|
|
10
10
|
name: "next-cloudinary",
|
|
11
|
-
version: "7.0.0-beta.
|
|
11
|
+
version: "7.0.0-beta.6",
|
|
12
12
|
license: "MIT",
|
|
13
13
|
main: "dist/next-cloudinary.cjs.js",
|
|
14
14
|
module: "dist/next-cloudinary.esm.js",
|
|
@@ -44,9 +44,9 @@ var pkg = {
|
|
|
44
44
|
"test:watch": "vitest"
|
|
45
45
|
},
|
|
46
46
|
dependencies: {
|
|
47
|
-
"@cloudinary-util/types": "
|
|
48
|
-
"@cloudinary-util/url-loader": "
|
|
49
|
-
"@cloudinary-util/util": "
|
|
47
|
+
"@cloudinary-util/types": "2.0.0-beta.2",
|
|
48
|
+
"@cloudinary-util/url-loader": "6.0.0-beta.5",
|
|
49
|
+
"@cloudinary-util/util": "5.0.0-beta.1"
|
|
50
50
|
},
|
|
51
51
|
devDependencies: {
|
|
52
52
|
"@babel/core": "^7.25.2",
|
|
@@ -2,7 +2,7 @@ import nextPkg from 'next/package.json';
|
|
|
2
2
|
|
|
3
3
|
var pkg = {
|
|
4
4
|
name: "next-cloudinary",
|
|
5
|
-
version: "7.0.0-beta.
|
|
5
|
+
version: "7.0.0-beta.6",
|
|
6
6
|
license: "MIT",
|
|
7
7
|
main: "dist/next-cloudinary.cjs.js",
|
|
8
8
|
module: "dist/next-cloudinary.esm.js",
|
|
@@ -38,9 +38,9 @@ var pkg = {
|
|
|
38
38
|
"test:watch": "vitest"
|
|
39
39
|
},
|
|
40
40
|
dependencies: {
|
|
41
|
-
"@cloudinary-util/types": "
|
|
42
|
-
"@cloudinary-util/url-loader": "
|
|
43
|
-
"@cloudinary-util/util": "
|
|
41
|
+
"@cloudinary-util/types": "2.0.0-beta.2",
|
|
42
|
+
"@cloudinary-util/url-loader": "6.0.0-beta.5",
|
|
43
|
+
"@cloudinary-util/util": "5.0.0-beta.1"
|
|
44
44
|
},
|
|
45
45
|
devDependencies: {
|
|
46
46
|
"@babel/core": "^7.25.2",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { constructCloudinaryUrl } from '@cloudinary-util/url-loader';
|
|
2
|
-
import { g as getCloudinaryConfig, a as getCloudinaryAnalytics } from './cloudinary-
|
|
2
|
+
import { g as getCloudinaryConfig, a as getCloudinaryAnalytics } from './cloudinary-a06f445a.esm.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* getCldImageUrl
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CldImage.d.ts","sourceRoot":"../../../../../src/components/CldImage","sources":["CldImage.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAM/E,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,EAAE,KAAK,GAAG,SAAS,CAAC,GAAG,YAAY,GAAG;IAC/E,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,QAAQ;aALH,aAAa;SACjB,MAAM;kBACG,OAAO;
|
|
1
|
+
{"version":3,"file":"CldImage.d.ts","sourceRoot":"../../../../../src/components/CldImage","sources":["CldImage.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAM/E,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,EAAE,KAAK,GAAG,SAAS,CAAC,GAAG,YAAY,GAAG;IAC/E,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,QAAQ;aALH,aAAa;SACjB,MAAM;kBACG,OAAO;oDAqHrB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var CldImage = require('./CldImage-
|
|
5
|
+
var CldImage = require('./CldImage-5499491b.cjs.js');
|
|
6
6
|
var Head = require('next/head');
|
|
7
|
-
var cloudinaryLoader = require('./cloudinary-loader-
|
|
7
|
+
var cloudinaryLoader = require('./cloudinary-loader-701d6a88.cjs.js');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
var CldUploadButton = require('./CldUploadButton-db9b095b.cjs.js');
|
|
10
|
-
var CldUploadWidget = require('./CldUploadWidget-
|
|
11
|
-
var CldVideoPlayer = require('./CldVideoPlayer-
|
|
10
|
+
var CldUploadWidget = require('./CldUploadWidget-4ed02ca2.cjs.js');
|
|
11
|
+
var CldVideoPlayer = require('./CldVideoPlayer-0148d38a.cjs.js');
|
|
12
12
|
var urlLoader = require('@cloudinary-util/url-loader');
|
|
13
|
-
var cloudinary = require('./cloudinary-
|
|
13
|
+
var cloudinary = require('./cloudinary-0ed42370.cjs.js');
|
|
14
14
|
require('next/package.json');
|
|
15
15
|
|
|
16
16
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { default as CldImage } from './CldImage-
|
|
1
|
+
export { default as CldImage } from './CldImage-ca122eb3.esm.js';
|
|
2
2
|
import Head from 'next/head';
|
|
3
|
-
import { g as getCldImageUrl } from './cloudinary-loader-
|
|
4
|
-
export { c as cloudinaryLoader, g as getCldImageUrl } from './cloudinary-loader-
|
|
3
|
+
import { g as getCldImageUrl } from './cloudinary-loader-34d35ba3.esm.js';
|
|
4
|
+
export { c as cloudinaryLoader, g as getCldImageUrl } from './cloudinary-loader-34d35ba3.esm.js';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
export { default as CldUploadButton } from './CldUploadButton-196b419b.esm.js';
|
|
7
|
-
export { default as CldUploadWidget } from './CldUploadWidget-
|
|
8
|
-
export { default as CldVideoPlayer } from './CldVideoPlayer-
|
|
7
|
+
export { default as CldUploadWidget } from './CldUploadWidget-e20936ff.esm.js';
|
|
8
|
+
export { default as CldVideoPlayer } from './CldVideoPlayer-6f274d98.esm.js';
|
|
9
9
|
import { constructCloudinaryUrl } from '@cloudinary-util/url-loader';
|
|
10
|
-
import { g as getCloudinaryConfig, a as getCloudinaryAnalytics } from './cloudinary-
|
|
10
|
+
import { g as getCloudinaryConfig, a as getCloudinaryAnalytics } from './cloudinary-a06f445a.esm.js';
|
|
11
11
|
import 'next/package.json';
|
|
12
12
|
|
|
13
13
|
const OG_IMAGE_WIDTH = 1200;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-cloudinary",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/next-cloudinary.cjs.js",
|
|
6
6
|
"module": "dist/next-cloudinary.esm.js",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@cloudinary-util/types": "
|
|
31
|
-
"@cloudinary-util/url-loader": "
|
|
32
|
-
"@cloudinary-util/util": "
|
|
30
|
+
"@cloudinary-util/types": "2.0.0-beta.2",
|
|
31
|
+
"@cloudinary-util/url-loader": "6.0.0-beta.5",
|
|
32
|
+
"@cloudinary-util/util": "5.0.0-beta.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@babel/core": "^7.25.2",
|