@geosynk/vertigis-web-sdk 1.0.3 → 1.0.4

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 CHANGED
@@ -177,7 +177,7 @@ This SDK includes an automated configuration wizard that sets up seamless OAuth
177
177
  3. Under **Redirect URIs**, add the following development endpoints:
178
178
  - `https://localtest.me:3001`
179
179
  - `https://localtest.me:3001/oauth_callback.html`
180
- 4. Copy the generated **App ID / Client ID** (e.g., `wXfL4Me24ZkSoALH`).
180
+ 4. Copy the generated **App ID / Client ID** (e.g., `myPortalAppId123`).
181
181
 
182
182
  #### Step 2: Run the Automated Portal Configurator
183
183
  Run the interactive configurator in your project:
@@ -185,18 +185,18 @@ Run the interactive configurator in your project:
185
185
  npm run auth:portal
186
186
  ```
187
187
  You will be prompted for:
188
- - **Portal URL**: Your Enterprise Portal instance (e.g., `https://gis-prod.cimic.com.au/Portal`).
188
+ - **Portal URL**: Your Enterprise Portal instance (e.g., `https://gis.{org}.com/portal`).
189
189
  - **App ID (Client ID)**: The App ID obtained from Step 1.
190
- - **Account ID**: Organization identifier (e.g., `cimic` or `enterprise`).
191
- - **Web Map Item ID or URL**: The secured web map to load (e.g., `d7d5b2a4502b49d0934a1fb5bddd9a97`).
190
+ - **Account ID**: Organization identifier (e.g., `{org}` or `enterprise`).
191
+ - **Web Map Item ID or URL**: The secured web map to load (e.g., `4f970e5d0a684b0f9f30cf00fa0119e6`).
192
192
 
193
193
  Or execute directly via non-interactive CLI flags:
194
194
  ```bash
195
195
  npm run auth:portal -- \
196
- --portal https://gis-prod.cimic.com.au/Portal \
197
- --app-id wXfL4Me24ZkSoALH \
198
- --account-id cimic \
199
- --webmap d7d5b2a4502b49d0934a1fb5bddd9a97
196
+ --portal https://gis.{org}.com/portal \
197
+ --app-id myPortalAppId123 \
198
+ --account-id {org} \
199
+ --webmap 4f970e5d0a684b0f9f30cf00fa0119e6
200
200
  ```
201
201
 
202
202
  #### Step 3: Start Development Server
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geosynk/vertigis-web-sdk",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Enterprise SDK for extending VertiGIS Studio Web",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,7 +37,7 @@ Examples:
37
37
  npm run auth:portal
38
38
 
39
39
  Direct CLI Mode:
40
- npm run auth:portal -- --portal https://gis.example.com/portal --app-id MyClientId123 --webmap d7d5b2a4502b49d0934a1fb5bddd9a97
40
+ npm run auth:portal -- --portal https://gis.example.com/portal --app-id MyClientId123 --webmap 4f970e5d0a684b0f9f30cf00fa0119e6
41
41
 
42
42
  Reset to Defaults:
43
43
  npm run auth:portal -- --reset
@@ -133,7 +133,7 @@ async function main() {
133
133
  portalUrl = portalUrl || await prompt(
134
134
  rl,
135
135
  "ArcGIS Enterprise Portal or AGOL URL",
136
- existingConfig.portal || "https://gis-prod.cimic.com.au/Portal"
136
+ existingConfig.portal || "https://gis.{org}.com/portal"
137
137
  );
138
138
 
139
139
  appId = appId || await prompt(