From 9c89f7fdf8d2f93d668fe72421c10dd633459a96 Mon Sep 17 00:00:00 2001 From: yanwzhang <64258970+yanwzhang@users.noreply.github.com> Date: Fri, 4 Jun 2021 17:50:08 +0800 Subject: [PATCH] fix: recover stringify function to NDEF which has before (#403) Co-authored-by: zhangyanwei --- ndef-lib/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ndef-lib/index.js b/ndef-lib/index.js index 9d4f9e6..b179fd3 100644 --- a/ndef-lib/index.js +++ b/ndef-lib/index.js @@ -12,6 +12,7 @@ const util = require('./util'); const textHelper = require('./ndef-text'); const uriHelper = require('./ndef-uri'); const wifiSimpleHelper = require('./ndef-wifi-simple'); +const stringifier = require('./stringifier'); const PrimitiveRecord = { emptyRecord() { @@ -115,6 +116,7 @@ const NDEF = { // other helpers util, + stringify: stringifier.stringify, }; module.exports = NDEF;