ampscript-data 0.1.1 → 0.1.3

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 (2) hide show
  1. package/package.json +7 -2
  2. package/src/index.js +2 -2
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "ampscript-data",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Canonical AMPscript function catalog, keywords, and personalization strings for SFMC tooling",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "exports": {
8
8
  ".": "./src/index.js"
9
9
  },
10
- "files": ["src"],
10
+ "files": [
11
+ "src"
12
+ ],
11
13
  "repository": {
12
14
  "type": "git",
13
15
  "url": "git+https://github.com/JoernBerkefeld/ampscript-data.git"
@@ -26,6 +28,9 @@
26
28
  "personalization"
27
29
  ],
28
30
  "license": "MIT",
31
+ "scripts": {
32
+ "test": "echo No tests defined"
33
+ },
29
34
  "engines": {
30
35
  "node": ">=18.0.0"
31
36
  }
package/src/index.js CHANGED
@@ -412,7 +412,7 @@ export const FUNCTIONS = [
412
412
  description:
413
413
  'Generates a secure, encrypted URL to a CloudPages landing page, optionally passing name-value parameters.',
414
414
  params: [
415
- { name: 'pageId', description: 'CloudPages page ID', type: 'number' },
415
+ { name: 'pageId', description: 'CloudPages page ID (number or string)' },
416
416
  {
417
417
  name: 'paramName',
418
418
  description: 'Query parameter name',
@@ -509,7 +509,7 @@ export const FUNCTIONS = [
509
509
  category: 'Content',
510
510
  description: 'Retrieves and renders a Content Builder content block by its numeric ID.',
511
511
  params: [
512
- { name: 'id', description: 'Content block ID', type: 'number' },
512
+ { name: 'id', description: 'Content block ID (number or string)' },
513
513
  {
514
514
  name: 'impressionRegion',
515
515
  description: 'Impression region name',