pinia-orm-edge 1.10.0-28876069.dc9d711 → 1.10.0-28877139.3d6c378

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/helpers.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const Utils = require('./shared/pinia-orm.a88d8365.cjs');
3
+ const Utils = require('./shared/pinia-orm.bf89f043.cjs');
4
4
 
5
5
  function useSum(models, field) {
6
6
  return models.reduce((sum, item) => {
package/dist/helpers.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { l as getValue, o as orderBy } from './shared/pinia-orm.f3905af9.mjs';
1
+ import { l as getValue, o as orderBy } from './shared/pinia-orm.3022ad6a.mjs';
2
2
 
3
3
  function useSum(models, field) {
4
4
  return models.reduce((sum, item) => {
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const Utils = require('./shared/pinia-orm.a88d8365.cjs');
3
+ const Utils = require('./shared/pinia-orm.bf89f043.cjs');
4
4
  const pinia = require('pinia');
5
5
  const normalizr = require('@pinia-orm/normalizr');
6
6
  const vueDemi = require('vue-demi');
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { i as isArray, t as throwError, a as assert, g as generateId, b as isNullish, c as compareWithOperator, d as generateKey, e as isEmpty, f as isFunction, h as groupBy, o as orderBy, j as equals, k as isDate } from './shared/pinia-orm.f3905af9.mjs';
1
+ import { i as isArray, t as throwError, a as assert, g as generateId, b as isNullish, c as compareWithOperator, d as generateKey, e as isEmpty, f as isFunction, h as groupBy, o as orderBy, j as equals, k as isDate } from './shared/pinia-orm.3022ad6a.mjs';
2
2
  import { defineStore, acceptHMRUpdate } from 'pinia';
3
3
  import { schema, normalize } from '@pinia-orm/normalizr';
4
4
  import { ref } from 'vue-demi';
@@ -117,7 +117,7 @@ function generateId(size2, alphabet) {
117
117
  let id = "";
118
118
  let i = size2;
119
119
  while (i--) {
120
- id += alphabet[Math.random() * 64 | 0];
120
+ id += alphabet[Math.random() * alphabet.length | 0];
121
121
  }
122
122
  return id;
123
123
  }
@@ -119,7 +119,7 @@ function generateId(size2, alphabet) {
119
119
  let id = "";
120
120
  let i = size2;
121
121
  while (i--) {
122
- id += alphabet[Math.random() * 64 | 0];
122
+ id += alphabet[Math.random() * alphabet.length | 0];
123
123
  }
124
124
  return id;
125
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinia-orm-edge",
3
- "version": "1.10.0-28876069.dc9d711",
3
+ "version": "1.10.0-28877139.3d6c378",
4
4
  "description": "The Pinia plugin to enable Object-Relational Mapping access to the Pinia Store.",
5
5
  "keywords": [
6
6
  "vue",
@@ -46,7 +46,7 @@
46
46
  "pinia": "^2.1.7"
47
47
  },
48
48
  "dependencies": {
49
- "@pinia-orm/normalizr": "npm:@pinia-orm/normalizr-edge@1.10.0-28876069.dc9d711"
49
+ "@pinia-orm/normalizr": "npm:@pinia-orm/normalizr-edge@1.10.0-28877139.3d6c378"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@nuxt/eslint-config": "^0.3.13",