@murasoftware/next-core
Advanced tools
Comparing version 2.0.4 to 2.0.5
import { useEffect, useState, createContext } from 'react'; | ||
import Mura$1 from 'mura.js'; | ||
import styleMap from 'mura.js/src/core/stylemap-static'; | ||
import MuraFactory from 'mura.js/src/core/factory.js'; | ||
import { jsx, jsxs, Fragment } from 'react/jsx-runtime'; | ||
@@ -425,3 +426,2 @@ | ||
var MuraClass = Object.create(Mura$1); | ||
var muraConfig, connectorConfig, ComponentRegistry, ConnectorConfig, ExternalModules; | ||
@@ -546,3 +546,4 @@ var MuraJSRefPlaceholder = '"undefined"!=typeof window&&function(u){u.queuedMuraCmds=[],u.queuedMuraPreInitCmds=[],"function"!=typeof u.Mura&&(u.Mura=u.mura=u.Mura=function(e){u.queuedMuraCmds.push(e)},u.Mura.preInit=function(e){u.queuedMuraPreInitCmds.push(e)})}(window);'; | ||
var startingsiteid = ''; | ||
var Mura = Object.create(MuraClass); | ||
var Mura = MuraFactory(); | ||
Mura.styleMap = Mura$1.styleMap; | ||
var instanceConfig = Object.assign({}, ConnectorConfig); | ||
@@ -549,0 +550,0 @@ |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('mura.js'), require('mura.js/src/core/stylemap-static'), require('react/jsx-runtime')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'react', 'mura.js', 'mura.js/src/core/stylemap-static', 'react/jsx-runtime'], factory) : | ||
(global = global || self, factory(global.nextCore = {}, global.react, global.Mura$1, global.styleMap, global.jsx)); | ||
})(this, (function (exports, react, Mura$1, styleMap, jsxRuntime) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('mura.js'), require('mura.js/src/core/stylemap-static'), require('mura.js/src/core/factory.js'), require('react/jsx-runtime')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'react', 'mura.js', 'mura.js/src/core/stylemap-static', 'mura.js/src/core/factory.js', 'react/jsx-runtime'], factory) : | ||
(global = global || self, factory(global.nextCore = {}, global.react, global.Mura$1, global.styleMap, global.MuraFactory, global.jsx)); | ||
})(this, (function (exports, react, Mura$1, styleMap, MuraFactory, jsxRuntime) { | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
@@ -10,2 +10,3 @@ | ||
var styleMap__default = /*#__PURE__*/_interopDefaultLegacy(styleMap); | ||
var MuraFactory__default = /*#__PURE__*/_interopDefaultLegacy(MuraFactory); | ||
@@ -431,3 +432,2 @@ function _extends() { | ||
var MuraClass = Object.create(Mura__default["default"]); | ||
var muraConfig, connectorConfig, ComponentRegistry, ConnectorConfig, ExternalModules; | ||
@@ -552,3 +552,4 @@ var MuraJSRefPlaceholder = '"undefined"!=typeof window&&function(u){u.queuedMuraCmds=[],u.queuedMuraPreInitCmds=[],"function"!=typeof u.Mura&&(u.Mura=u.mura=u.Mura=function(e){u.queuedMuraCmds.push(e)},u.Mura.preInit=function(e){u.queuedMuraPreInitCmds.push(e)})}(window);'; | ||
var startingsiteid = ''; | ||
var Mura = Object.create(MuraClass); | ||
var Mura = MuraFactory__default["default"](); | ||
Mura.styleMap = Mura__default["default"].styleMap; | ||
var instanceConfig = Object.assign({}, ConnectorConfig); | ||
@@ -555,0 +556,0 @@ |
{ | ||
"name": "@murasoftware/next-core", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Core utilties for Mura.js and Next.js", | ||
@@ -5,0 +5,0 @@ "author": "Mura Software", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
402748
3656