agentics-shield 0.1.0 → 0.1.2
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 +229 -0
- package/dist/bundle.js +13 -1
- package/dist/crypto.js +13 -1
- package/dist/index.js +13 -1
- package/dist/loader.js +13 -1
- package/dist/middleware.js +13 -1
- package/dist/rateLimit.js +13 -1
- package/dist/session.js +13 -1
- package/dist/shield.js +13 -1
- package/examples/express.js +12 -0
- package/examples/multiPage.js +12 -0
- package/examples/setup.sh +10 -0
- package/examples/withApi.js +12 -0
- package/package.json +5 -5
package/examples/express.js
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Agentics Shield
|
|
3
|
+
|
|
4
|
+
* ▄▀▀▀▀▀▄ ▄▀▀▀▀▀▀ █▀▀▀▀▀▀ █▀▄ █ ▀▀▀█▀▀▀ ▀▀▀█▀▀▀ ▄▀▀▀▀▀▀ ▄▀▀▀▀▀▀ ™
|
|
5
|
+
* █▀▀▀▀▀█ █ ▀█▀ █▀▀▀▀▀ █ ▀▄ █ █ █ █ ▀▀▀▀▀▄
|
|
6
|
+
* ▀ ▀ ▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀ ▀▀ ▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀▀
|
|
7
|
+
* This source code is licensed and governed by a Proprietary License.
|
|
8
|
+
* Permissions may be found in the LICENSE file located in the root directory.
|
|
9
|
+
|
|
10
|
+
* © Agentics (Pty) Ltd - All Rights Reserved
|
|
11
|
+
* https://agentics.co.za <-> info@agentics.co.za
|
|
12
|
+
*/
|
|
1
13
|
const express = require('express');
|
|
2
14
|
const path = require('path');
|
|
3
15
|
const shield = require('agentics-shield');
|
package/examples/multiPage.js
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Agentics Shield
|
|
3
|
+
|
|
4
|
+
* ▄▀▀▀▀▀▄ ▄▀▀▀▀▀▀ █▀▀▀▀▀▀ █▀▄ █ ▀▀▀█▀▀▀ ▀▀▀█▀▀▀ ▄▀▀▀▀▀▀ ▄▀▀▀▀▀▀ ™
|
|
5
|
+
* █▀▀▀▀▀█ █ ▀█▀ █▀▀▀▀▀ █ ▀▄ █ █ █ █ ▀▀▀▀▀▄
|
|
6
|
+
* ▀ ▀ ▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀ ▀▀ ▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀▀
|
|
7
|
+
* This source code is licensed and governed by a Proprietary License.
|
|
8
|
+
* Permissions may be found in the LICENSE file located in the root directory.
|
|
9
|
+
|
|
10
|
+
* © Agentics (Pty) Ltd - All Rights Reserved
|
|
11
|
+
* https://agentics.co.za <-> info@agentics.co.za
|
|
12
|
+
*/
|
|
1
13
|
const express = require('express');
|
|
2
14
|
const path = require('path');
|
|
3
15
|
const shield = require('agentics-shield');
|
package/examples/setup.sh
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
|
+
# @license Agentics Shield
|
|
3
|
+
|
|
4
|
+
# ▄▀▀▀▀▀▄ ▄▀▀▀▀▀▀ █▀▀▀▀▀▀ █▀▄ █ ▀▀▀█▀▀▀ ▀▀▀█▀▀▀ ▄▀▀▀▀▀▀ ▄▀▀▀▀▀▀ ™
|
|
5
|
+
# █▀▀▀▀▀█ █ ▀█▀ █▀▀▀▀▀ █ ▀▄ █ █ █ █ ▀▀▀▀▀▄
|
|
6
|
+
# ▀ ▀ ▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀ ▀▀ ▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀▀
|
|
7
|
+
# This source code is licensed and governed by a Proprietary License.
|
|
8
|
+
# Permissions may be found in the LICENSE file located in the root directory.
|
|
9
|
+
|
|
10
|
+
# © Agentics (Pty) Ltd - All Rights Reserved
|
|
11
|
+
# https://agentics.co.za <-> info@agentics.co.za
|
|
2
12
|
|
|
3
13
|
mkdir -p myproject && cd myproject
|
|
4
14
|
yarn init -y
|
package/examples/withApi.js
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Agentics Shield
|
|
3
|
+
|
|
4
|
+
* ▄▀▀▀▀▀▄ ▄▀▀▀▀▀▀ █▀▀▀▀▀▀ █▀▄ █ ▀▀▀█▀▀▀ ▀▀▀█▀▀▀ ▄▀▀▀▀▀▀ ▄▀▀▀▀▀▀ ™
|
|
5
|
+
* █▀▀▀▀▀█ █ ▀█▀ █▀▀▀▀▀ █ ▀▄ █ █ █ █ ▀▀▀▀▀▄
|
|
6
|
+
* ▀ ▀ ▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀ ▀▀ ▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀▀
|
|
7
|
+
* This source code is licensed and governed by a Proprietary License.
|
|
8
|
+
* Permissions may be found in the LICENSE file located in the root directory.
|
|
9
|
+
|
|
10
|
+
* © Agentics (Pty) Ltd - All Rights Reserved
|
|
11
|
+
* https://agentics.co.za <-> info@agentics.co.za
|
|
12
|
+
*/
|
|
1
13
|
const express = require('express');
|
|
2
14
|
const path = require('path');
|
|
3
15
|
const shield = require('agentics-shield');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentics-shield",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Zero-trust frontend content protection. Encrypt, authenticate, and deliver proprietary code via WebAssembly.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"init": "node bin/cli.js init",
|
|
11
|
-
"
|
|
12
|
-
|
|
11
|
+
"status": "node bin/cli.js status",
|
|
12
|
+
"build:license": "licenseHeader -p -n 'Agentics Shield' dist"
|
|
13
13
|
},
|
|
14
14
|
"keywords": [
|
|
15
15
|
"shield",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"license": "SEE LICENSE IN LICENSE",
|
|
28
28
|
"repository": {
|
|
29
29
|
"type": "git",
|
|
30
|
-
"url": "https://
|
|
30
|
+
"url": "https://gitlab.com/agentics-ai/agentics-shield"
|
|
31
31
|
},
|
|
32
|
-
"homepage": "https://agentics.co.za
|
|
32
|
+
"homepage": "https://shield.agentics.co.za",
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": ">=18.0.0"
|
|
35
35
|
},
|