next-cloudinary 7.0.0-beta.2 → 7.0.0-beta.3
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 +8 -0
- package/dist/{CldImage-6cc29250.cjs.js → CldImage-9c70e40f.cjs.js} +2 -2
- package/dist/{CldImage-37af4d37.esm.js → CldImage-cd749965.esm.js} +2 -2
- package/dist/CldUploadButton-196b419b.esm.js +1 -1
- package/dist/CldUploadButton-db9b095b.cjs.js +1 -1
- package/dist/{CldUploadWidget-496b6240.cjs.js → CldUploadWidget-c1cbe4d0.cjs.js} +1 -1
- package/dist/{CldUploadWidget-d1442bef.esm.js → CldUploadWidget-e9eba441.esm.js} +1 -1
- package/dist/{CldVideoPlayer-25af8fc2.cjs.js → CldVideoPlayer-9a677874.cjs.js} +4 -4
- package/dist/{CldVideoPlayer-d3572d86.esm.js → CldVideoPlayer-cf975dcd.esm.js} +5 -5
- package/dist/{cloudinary-c07e74d7.cjs.js → cloudinary-ce90980e.cjs.js} +3 -3
- package/dist/{cloudinary-50fd58f7.esm.js → cloudinary-f2ae7797.esm.js} +3 -3
- package/dist/{cloudinary-loader-b7898036.cjs.js → cloudinary-loader-45a5eb27.cjs.js} +1 -1
- package/dist/{cloudinary-loader-d86c263a.esm.js → cloudinary-loader-ca99e94f.esm.js} +1 -1
- package/dist/declarations/src/components/CldVideoPlayer/CldVideoPlayer.d.ts.map +1 -1
- package/dist/declarations/src/components/CldVideoPlayer/CldVideoPlayer.types.d.ts +3 -3
- package/dist/declarations/src/components/CldVideoPlayer/CldVideoPlayer.types.d.ts.map +1 -1
- package/dist/next-cloudinary.cjs.js +5 -5
- package/dist/next-cloudinary.esm.js +6 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -197,6 +197,14 @@ pnpm test
|
|
|
197
197
|
<td align="center" valign="top" width="14.28%"><a href="http://www.simonbukin.com"><img src="https://avatars.githubusercontent.com/u/8992420?v=4?s=100" width="100px;" alt="Simon"/><br /><sub><b>Simon</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=simonbukin" title="Documentation">📖</a></td>
|
|
198
198
|
<td align="center" valign="top" width="14.28%"><a href="https://robray.dev/"><img src="https://avatars.githubusercontent.com/u/1377253?v=4?s=100" width="100px;" alt="Richard Oliver Bray"/><br /><sub><b>Richard Oliver Bray</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=RichardBray" title="Code">💻</a></td>
|
|
199
199
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/zecka"><img src="https://avatars.githubusercontent.com/u/18116930?v=4?s=100" width="100px;" alt="zecka"/><br /><sub><b>zecka</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=zecka" title="Code">💻</a></td>
|
|
200
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/HarshitVashisht11"><img src="https://avatars.githubusercontent.com/u/120767685?v=4?s=100" width="100px;" alt="Harshit Vashisht"/><br /><sub><b>Harshit Vashisht</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=HarshitVashisht11" title="Documentation">📖</a></td>
|
|
201
|
+
<td align="center" valign="top" width="14.28%"><a href="http://sahil9001.github.io"><img src="https://avatars.githubusercontent.com/u/32628578?v=4?s=100" width="100px;" alt="Sahil Silare"/><br /><sub><b>Sahil Silare</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=sahil9001" title="Code">💻</a></td>
|
|
202
|
+
</tr>
|
|
203
|
+
<tr>
|
|
204
|
+
<td align="center" valign="top" width="14.28%"><a href="http://yashmathur.live"><img src="https://avatars.githubusercontent.com/u/69838816?v=4?s=100" width="100px;" alt="Yash Mathur"/><br /><sub><b>Yash Mathur</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=Yash-sudo-web" title="Code">💻</a></td>
|
|
205
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mr-loop-1"><img src="https://avatars.githubusercontent.com/u/62374784?v=4?s=100" width="100px;" alt="Abdul Samad"/><br /><sub><b>Abdul Samad</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=mr-loop-1" title="Documentation">📖</a></td>
|
|
206
|
+
<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>
|
|
207
|
+
<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>
|
|
200
208
|
</tr>
|
|
201
209
|
</tbody>
|
|
202
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-45a5eb27.cjs.js');
|
|
11
11
|
var jsxRuntime = require('react/jsx-runtime');
|
|
12
|
-
require('./cloudinary-
|
|
12
|
+
require('./cloudinary-ce90980e.cjs.js');
|
|
13
13
|
require('next/package.json');
|
|
14
14
|
|
|
15
15
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -3,9 +3,9 @@ import { forwardRef, useState, useCallback } from 'react';
|
|
|
3
3
|
import Image from 'next/image';
|
|
4
4
|
import { pollForProcessingImage } from '@cloudinary-util/util';
|
|
5
5
|
import { transformationPlugins } from '@cloudinary-util/url-loader';
|
|
6
|
-
import { g as getCldImageUrl, c as cloudinaryLoader } from './cloudinary-loader-
|
|
6
|
+
import { g as getCldImageUrl, c as cloudinaryLoader } from './cloudinary-loader-ca99e94f.esm.js';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
|
-
import './cloudinary-
|
|
8
|
+
import './cloudinary-f2ae7797.esm.js';
|
|
9
9
|
import 'next/package.json';
|
|
10
10
|
|
|
11
11
|
const CldImage = /*#__PURE__*/forwardRef(function CldImage(props, ref) {
|
|
@@ -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-c1cbe4d0.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-ce90980e.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-f2ae7797.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-ce90980e.cjs.js');
|
|
11
11
|
var jsxRuntime = require('react/jsx-runtime');
|
|
12
12
|
require('next/package.json');
|
|
13
13
|
|
|
@@ -32,6 +32,7 @@ const CldVideoPlayer = props => {
|
|
|
32
32
|
onEnded,
|
|
33
33
|
width
|
|
34
34
|
} = props;
|
|
35
|
+
const uniqueId = react.useId();
|
|
35
36
|
const cloudinaryConfig = cloudinary.getCloudinaryConfig(config);
|
|
36
37
|
const playerOptions = urlLoader.getVideoPlayerOptions(props, cloudinaryConfig);
|
|
37
38
|
const {
|
|
@@ -49,7 +50,7 @@ const CldVideoPlayer = props => {
|
|
|
49
50
|
const videoRef = props.videoRef || defaultVideoRef;
|
|
50
51
|
const defaultPlayerRef = react.useRef();
|
|
51
52
|
const playerRef = props.playerRef || defaultPlayerRef;
|
|
52
|
-
const playerId = id || `player-${
|
|
53
|
+
const playerId = id || `player-${uniqueId.replace(/:/g, '')}`;
|
|
53
54
|
let playerClassName = 'cld-video-player cld-fluid';
|
|
54
55
|
if (className) {
|
|
55
56
|
playerClassName = `${playerClassName} ${className}`;
|
|
@@ -103,7 +104,6 @@ const CldVideoPlayer = props => {
|
|
|
103
104
|
}
|
|
104
105
|
react.useEffect(() => {
|
|
105
106
|
return () => {
|
|
106
|
-
//@ts-ignore
|
|
107
107
|
playerRef.current?.videojs.cloudinary.dispose();
|
|
108
108
|
playerInstances = playerInstances.filter(id => id !== playerId);
|
|
109
109
|
};
|
|
@@ -137,7 +137,7 @@ const CldVideoPlayer = props => {
|
|
|
137
137
|
width: width,
|
|
138
138
|
height: height
|
|
139
139
|
}), /*#__PURE__*/jsxRuntime.jsx(Script__default["default"], {
|
|
140
|
-
id: `cloudinary-videoplayer-${playerId}
|
|
140
|
+
id: `cloudinary-videoplayer-${playerId}`,
|
|
141
141
|
src: `https://unpkg.com/cloudinary-video-player@${PLAYER_VERSION}/dist/cld-video-player.min.js`,
|
|
142
142
|
onLoad: handleOnLoad,
|
|
143
143
|
onError: e => console.error(`Failed to load Cloudinary Video Player: ${e.message}`)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { useRef, useEffect } from 'react';
|
|
2
|
+
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-f2ae7797.esm.js';
|
|
7
7
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
8
8
|
import 'next/package.json';
|
|
9
9
|
|
|
@@ -23,6 +23,7 @@ const CldVideoPlayer = props => {
|
|
|
23
23
|
onEnded,
|
|
24
24
|
width
|
|
25
25
|
} = props;
|
|
26
|
+
const uniqueId = useId();
|
|
26
27
|
const cloudinaryConfig = getCloudinaryConfig(config);
|
|
27
28
|
const playerOptions = getVideoPlayerOptions(props, cloudinaryConfig);
|
|
28
29
|
const {
|
|
@@ -40,7 +41,7 @@ const CldVideoPlayer = props => {
|
|
|
40
41
|
const videoRef = props.videoRef || defaultVideoRef;
|
|
41
42
|
const defaultPlayerRef = useRef();
|
|
42
43
|
const playerRef = props.playerRef || defaultPlayerRef;
|
|
43
|
-
const playerId = id || `player-${
|
|
44
|
+
const playerId = id || `player-${uniqueId.replace(/:/g, '')}`;
|
|
44
45
|
let playerClassName = 'cld-video-player cld-fluid';
|
|
45
46
|
if (className) {
|
|
46
47
|
playerClassName = `${playerClassName} ${className}`;
|
|
@@ -94,7 +95,6 @@ const CldVideoPlayer = props => {
|
|
|
94
95
|
}
|
|
95
96
|
useEffect(() => {
|
|
96
97
|
return () => {
|
|
97
|
-
//@ts-ignore
|
|
98
98
|
playerRef.current?.videojs.cloudinary.dispose();
|
|
99
99
|
playerInstances = playerInstances.filter(id => id !== playerId);
|
|
100
100
|
};
|
|
@@ -128,7 +128,7 @@ const CldVideoPlayer = props => {
|
|
|
128
128
|
width: width,
|
|
129
129
|
height: height
|
|
130
130
|
}), /*#__PURE__*/jsx(Script, {
|
|
131
|
-
id: `cloudinary-videoplayer-${playerId}
|
|
131
|
+
id: `cloudinary-videoplayer-${playerId}`,
|
|
132
132
|
src: `https://unpkg.com/cloudinary-video-player@${PLAYER_VERSION}/dist/cld-video-player.min.js`,
|
|
133
133
|
onLoad: handleOnLoad,
|
|
134
134
|
onError: e => console.error(`Failed to load Cloudinary Video Player: ${e.message}`)
|
|
@@ -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.3",
|
|
12
12
|
license: "MIT",
|
|
13
13
|
main: "dist/next-cloudinary.cjs.js",
|
|
14
14
|
module: "dist/next-cloudinary.esm.js",
|
|
@@ -44,8 +44,8 @@ var pkg = {
|
|
|
44
44
|
"test:watch": "vitest"
|
|
45
45
|
},
|
|
46
46
|
dependencies: {
|
|
47
|
-
"@cloudinary-util/types": "1.5.
|
|
48
|
-
"@cloudinary-util/url-loader": "5.10.
|
|
47
|
+
"@cloudinary-util/types": "1.5.10",
|
|
48
|
+
"@cloudinary-util/url-loader": "5.10.4",
|
|
49
49
|
"@cloudinary-util/util": "^3.3.2"
|
|
50
50
|
},
|
|
51
51
|
devDependencies: {
|
|
@@ -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.3",
|
|
6
6
|
license: "MIT",
|
|
7
7
|
main: "dist/next-cloudinary.cjs.js",
|
|
8
8
|
module: "dist/next-cloudinary.esm.js",
|
|
@@ -38,8 +38,8 @@ var pkg = {
|
|
|
38
38
|
"test:watch": "vitest"
|
|
39
39
|
},
|
|
40
40
|
dependencies: {
|
|
41
|
-
"@cloudinary-util/types": "1.5.
|
|
42
|
-
"@cloudinary-util/url-loader": "5.10.
|
|
41
|
+
"@cloudinary-util/types": "1.5.10",
|
|
42
|
+
"@cloudinary-util/url-loader": "5.10.4",
|
|
43
43
|
"@cloudinary-util/util": "^3.3.2"
|
|
44
44
|
},
|
|
45
45
|
devDependencies: {
|
|
@@ -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-f2ae7797.esm.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* getCldImageUrl
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CldVideoPlayer.d.ts","sourceRoot":"../../../../../src/components/CldVideoPlayer","sources":["CldVideoPlayer.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,mBAAmB,EAAE,kCAA+B;AAQ7D,QAAA,MAAM,cAAc,UAAW,mBAAmB,
|
|
1
|
+
{"version":3,"file":"CldVideoPlayer.d.ts","sourceRoot":"../../../../../src/components/CldVideoPlayer","sources":["CldVideoPlayer.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,mBAAmB,EAAE,kCAA+B;AAQ7D,QAAA,MAAM,cAAc,UAAW,mBAAmB,4CAoIjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { MutableRefObject } from 'react';
|
|
2
|
-
import { CloudinaryVideoPlayer, CloudinaryVideoPlayerOptionsLogo
|
|
3
|
-
import { ConfigOptions } from "@cloudinary-util/url-loader";
|
|
2
|
+
import { CloudinaryVideoPlayer, CloudinaryVideoPlayerOptionsLogo } from '@cloudinary-util/types';
|
|
3
|
+
import { ConfigOptions, GetVideoPlayerOptions } from "@cloudinary-util/url-loader";
|
|
4
4
|
import { GetCldImageUrlOptions } from "../../helpers/getCldImageUrl.js";
|
|
5
5
|
import { GetCldVideoUrlOptions } from "../../helpers/getCldVideoUrl.js";
|
|
6
|
-
export type CldVideoPlayerProps = Omit<
|
|
6
|
+
export type CldVideoPlayerProps = Omit<GetVideoPlayerOptions, "cloud_name" | "autoplayMode" | "publicId" | "secure" | "showLogo" | "logoImageUrl" | "logoOnclickUrl"> & {
|
|
7
7
|
className?: string;
|
|
8
8
|
config?: ConfigOptions;
|
|
9
9
|
id?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CldVideoPlayer.types.d.ts","sourceRoot":"../../../../../src/components/CldVideoPlayer","sources":["CldVideoPlayer.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,gCAAgC,
|
|
1
|
+
{"version":3,"file":"CldVideoPlayer.types.d.ts","sourceRoot":"../../../../../src/components/CldVideoPlayer","sources":["CldVideoPlayer.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,gCAAgC,EACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEnF,OAAO,EAAE,qBAAqB,EAAE,wCAAqC;AACrE,OAAO,EAAE,qBAAqB,EAAE,wCAAqC;AAErE,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,qBAAqB,EAAE,YAAY,GAAG,cAAc,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,cAAc,GAAG,gBAAgB,CAAC,GAAG;IACtK,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,OAAO,GAAG,uBAAuB,CAAC;IACzC,UAAU,CAAC,EAAE,QAAQ,CAAC;IACtB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,SAAS,CAAC,EAAE,gBAAgB,CAAC,qBAAqB,GAAG,IAAI,CAAC,CAAC;IAC3D,MAAM,CAAC,EAAE,MAAM,GAAG,qBAAqB,GAAG,qBAAqB,CAAC;IAChE,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B,CAAA;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,gCAAgC,CAAC,cAAc,CAAC,CAAC;IAC5D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,gCAAgC,CAAC,gBAAgB,CAAC,CAAC;CACjE"}
|
|
@@ -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-9c70e40f.cjs.js');
|
|
6
6
|
var Head = require('next/head');
|
|
7
|
-
var cloudinaryLoader = require('./cloudinary-loader-
|
|
7
|
+
var cloudinaryLoader = require('./cloudinary-loader-45a5eb27.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-c1cbe4d0.cjs.js');
|
|
11
|
+
var CldVideoPlayer = require('./CldVideoPlayer-9a677874.cjs.js');
|
|
12
12
|
var urlLoader = require('@cloudinary-util/url-loader');
|
|
13
|
-
var cloudinary = require('./cloudinary-
|
|
13
|
+
var cloudinary = require('./cloudinary-ce90980e.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-cd749965.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-ca99e94f.esm.js';
|
|
4
|
+
export { c as cloudinaryLoader, g as getCldImageUrl } from './cloudinary-loader-ca99e94f.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-e9eba441.esm.js';
|
|
8
|
+
export { default as CldVideoPlayer } from './CldVideoPlayer-cf975dcd.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-f2ae7797.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.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/next-cloudinary.cjs.js",
|
|
6
6
|
"module": "dist/next-cloudinary.esm.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@cloudinary-util/types": "1.5.
|
|
31
|
-
"@cloudinary-util/url-loader": "5.10.
|
|
30
|
+
"@cloudinary-util/types": "1.5.10",
|
|
31
|
+
"@cloudinary-util/url-loader": "5.10.4",
|
|
32
32
|
"@cloudinary-util/util": "^3.3.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|