@smg-automotive/advertisement-pkg
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -242,2 +242,5 @@ 'use strict'; | ||
scriptNode.async = true; | ||
if (options == null ? void 0 : options.id) { | ||
scriptNode.id = options.id; | ||
} | ||
scriptNode.setAttribute("data-status", "loading"); | ||
@@ -271,3 +274,3 @@ document.body.appendChild(scriptNode); | ||
}; | ||
}, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount]); | ||
}, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]); | ||
return status; | ||
@@ -274,0 +277,0 @@ } |
@@ -222,2 +222,5 @@ import * as React from 'react'; | ||
scriptNode.async = true; | ||
if (options == null ? void 0 : options.id) { | ||
scriptNode.id = options.id; | ||
} | ||
scriptNode.setAttribute("data-status", "loading"); | ||
@@ -251,3 +254,3 @@ document.body.appendChild(scriptNode); | ||
}; | ||
}, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount]); | ||
}, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]); | ||
return status; | ||
@@ -254,0 +257,0 @@ } |
{ | ||
"name": "@smg-automotive/advertisement-pkg", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Contains Relevant Digital Header Bidding Wrapper for advertisements", | ||
@@ -31,3 +31,3 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"usehooks-ts": "2.15.1" | ||
"usehooks-ts": "2.16.0" | ||
}, | ||
@@ -43,9 +43,9 @@ "peerDependencies": { | ||
"@rollup/plugin-typescript": "11.1.6", | ||
"@smg-automotive/eslint-config": "4.0.46", | ||
"@smg-automotive/eslint-config": "4.0.52", | ||
"@testing-library/jest-dom": "6.4.2", | ||
"@testing-library/react": "14.2.1", | ||
"@testing-library/react": "14.2.2", | ||
"@testing-library/user-event": "14.5.2", | ||
"@types/jest": "29.5.12", | ||
"@types/node": "20.11.16", | ||
"@types/react": "18.2.60", | ||
"@types/node": "20.11.23", | ||
"@types/react": "18.2.74", | ||
"jest": "29.7.0", | ||
@@ -56,10 +56,10 @@ "jest-environment-jsdom": "29.7.0", | ||
"rimraf": "5.0.5", | ||
"rollup": "4.12.0", | ||
"rollup": "4.14.1", | ||
"rollup-plugin-dts": "6.1.0", | ||
"rollup-plugin-peer-deps-external": "2.2.4", | ||
"semantic-release": "23.0.2", | ||
"semantic-release": "23.0.7", | ||
"ts-jest": "29.1.2", | ||
"ts-node": "10.9.2", | ||
"typescript": "5.3.3" | ||
"typescript": "5.4.4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
238795
1415
+ Addedusehooks-ts@2.16.0(transitive)
- Removedusehooks-ts@2.15.1(transitive)
Updatedusehooks-ts@2.16.0