shogun-core 3.0.7 → 3.0.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/dist/browser/shogun-core.js +10 -10
- package/dist/browser/shogun-core.js.map +1 -1
- package/dist/config/simplified-config.js +6 -6
- package/dist/gundb/index.js +1 -1
- package/dist/index.js +5 -7
- package/dist/types/gundb/index.d.ts +1 -1
- package/dist/types/index.d.ts +4 -5
- package/package.json +1 -1
- /package/dist/gundb/{simple-api.js → api.js} +0 -0
- /package/dist/types/gundb/{simple-api.d.ts → api.d.ts} +0 -0
|
@@ -42808,6 +42808,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42808
42808
|
|
|
42809
42809
|
// EXPORTS
|
|
42810
42810
|
__webpack_require__.d(__webpack_exports__, {
|
|
42811
|
+
AutoQuickStart: () => (/* reexport */ AutoQuickStart),
|
|
42811
42812
|
BasePlugin: () => (/* reexport */ BasePlugin),
|
|
42812
42813
|
ConfigHelpers: () => (/* reexport */ ConfigHelpers),
|
|
42813
42814
|
CorePlugins: () => (/* reexport */ CorePlugins),
|
|
@@ -42833,6 +42834,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
42833
42834
|
Web3ConnectorPlugin: () => (/* reexport */ Web3ConnectorPlugin),
|
|
42834
42835
|
Webauthn: () => (/* reexport */ Webauthn),
|
|
42835
42836
|
WebauthnPlugin: () => (/* reexport */ WebauthnPlugin),
|
|
42837
|
+
autoQuickStart: () => (/* reexport */ autoQuickStart),
|
|
42836
42838
|
createError: () => (/* reexport */ createError),
|
|
42837
42839
|
createSimpleAPI: () => (/* reexport */ createSimpleAPI),
|
|
42838
42840
|
crypto: () => (/* reexport */ gundb_crypto_namespaceObject),
|
|
@@ -89670,7 +89672,7 @@ const createGun = (config) => {
|
|
|
89670
89672
|
*/
|
|
89671
89673
|
|
|
89672
89674
|
|
|
89673
|
-
;// ./src/gundb/
|
|
89675
|
+
;// ./src/gundb/api.ts
|
|
89674
89676
|
/**
|
|
89675
89677
|
* Simplified API layer to reduce complexity for common use cases
|
|
89676
89678
|
* Provides quick-start methods that wrap the full DataBase functionality
|
|
@@ -90804,7 +90806,7 @@ const ShogunPresets = {
|
|
|
90804
90806
|
*/
|
|
90805
90807
|
minimal: () => ({
|
|
90806
90808
|
gunOptions: {
|
|
90807
|
-
peers: ["https://
|
|
90809
|
+
peers: ["https://relay.shogun-eco.xyz/gun"],
|
|
90808
90810
|
localStorage: true,
|
|
90809
90811
|
},
|
|
90810
90812
|
}),
|
|
@@ -90813,7 +90815,7 @@ const ShogunPresets = {
|
|
|
90813
90815
|
*/
|
|
90814
90816
|
development: () => ({
|
|
90815
90817
|
gunOptions: {
|
|
90816
|
-
peers: ["https://
|
|
90818
|
+
peers: ["https://relay.shogun-eco.xyz/gun"],
|
|
90817
90819
|
localStorage: true,
|
|
90818
90820
|
radisk: false,
|
|
90819
90821
|
},
|
|
@@ -90829,8 +90831,8 @@ const ShogunPresets = {
|
|
|
90829
90831
|
production: (customPeers) => ({
|
|
90830
90832
|
gunOptions: {
|
|
90831
90833
|
peers: customPeers || [
|
|
90832
|
-
"https://
|
|
90833
|
-
"https://
|
|
90834
|
+
"https://relay.shogun-eco.xyz/gun",
|
|
90835
|
+
"https://peer.wallie.io/gun",
|
|
90834
90836
|
],
|
|
90835
90837
|
localStorage: true,
|
|
90836
90838
|
radisk: true,
|
|
@@ -90856,7 +90858,7 @@ const ShogunPresets = {
|
|
|
90856
90858
|
*/
|
|
90857
90859
|
web3: () => ({
|
|
90858
90860
|
gunOptions: {
|
|
90859
|
-
peers: ["https://
|
|
90861
|
+
peers: ["https://relay.shogun-eco.xyz/gun"],
|
|
90860
90862
|
localStorage: true,
|
|
90861
90863
|
},
|
|
90862
90864
|
web3: {
|
|
@@ -90868,7 +90870,7 @@ const ShogunPresets = {
|
|
|
90868
90870
|
*/
|
|
90869
90871
|
webauthn: () => ({
|
|
90870
90872
|
gunOptions: {
|
|
90871
|
-
peers: ["https://
|
|
90873
|
+
peers: ["https://relay.shogun-eco.xyz/gun"],
|
|
90872
90874
|
localStorage: true,
|
|
90873
90875
|
},
|
|
90874
90876
|
webauthn: {
|
|
@@ -91027,14 +91029,12 @@ const QuickConfig = {
|
|
|
91027
91029
|
|
|
91028
91030
|
// Import Simple API and improved types
|
|
91029
91031
|
|
|
91030
|
-
// Import Gun as default export
|
|
91031
91032
|
|
|
91032
91033
|
|
|
91033
91034
|
|
|
91034
91035
|
|
|
91035
|
-
// Export simplified configuration
|
|
91036
|
-
|
|
91037
91036
|
|
|
91037
|
+
// Export simplified configuration
|
|
91038
91038
|
|
|
91039
91039
|
|
|
91040
91040
|
|